Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.001359, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008496/0.0008495, allocations: 92.86 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003312, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2677, allocations: 47.57 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.002964/0.2707, allocations: 2.41 MB / 377.5 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.2722, allocations: 0.7104 MB / 378.2 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.2725, allocations: 4.219 kB / 378.2 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.2727, allocations: 38.81 kB / 378.3 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.273, allocations: 85.7 kB / 378.3 MB, free: 42.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.2733, allocations: 76.09 kB / 378.4 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.2736, allocations: 353.6 kB / 378.8 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.2738, allocations: 78.14 kB / 378.8 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.2741, allocations: 122.4 kB / 379 MB, free: 42.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.2742, allocations: 139.3 kB / 379.1 MB, free: 42.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.646e-05/0.2743, allocations: 16.69 kB / 379.1 MB, free: 42.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.977e-05/0.2743, allocations: 20.38 kB / 379.1 MB, free: 42.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.2744, allocations: 59.2 kB / 379.2 MB, free: 42.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.2745, allocations: 162.5 kB / 379.3 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.2747, allocations: 257.7 kB / 379.6 MB, free: 42.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2748, allocations: 0 / 379.6 MB, free: 42.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2748, allocations: 1.125 kB / 379.6 MB, free: 42.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2748, allocations: 0 / 379.6 MB, free: 42.01 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001109/0.2759, allocations: 0.6307 MB / 380.2 MB, free: 41.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2759, allocations: 12.59 kB / 380.2 MB, free: 41.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.165e-05/0.276, allocations: 33.56 kB / 380.3 MB, free: 41.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.2763, allocations: 279.2 kB / 380.5 MB, free: 41.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.2763, allocations: 18.44 kB / 380.6 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.2764, allocations: 23.88 kB / 380.6 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.277, allocations: 283.1 kB / 380.9 MB, free: 40.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.277, allocations: 0 / 380.9 MB, free: 40.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.2771, allocations: 10.47 kB / 380.9 MB, free: 40.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2771, allocations: 5.312 kB / 380.9 MB, free: 40.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007894/0.2779, allocations: 304 kB / 381.2 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.2793, allocations: 0.9452 MB / 382.1 MB, free: 40.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.2801, allocations: 278.8 kB / 382.4 MB, free: 39.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.2804, allocations: 132.3 kB / 382.5 MB, free: 39.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.2804, allocations: 1.469 kB / 382.5 MB, free: 39.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004564/0.2809, allocations: 204.5 kB / 382.7 MB, free: 39.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.2809, allocations: 0 / 382.7 MB, free: 39.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.002003/0.2829, allocations: 0.7391 MB / 383.5 MB, free: 39.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.283, allocations: 109.1 kB / 383.6 MB, free: 39.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.2832, allocations: 261.5 kB / 383.8 MB, free: 39.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.2833, allocations: 32.11 kB / 383.9 MB, free: 39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.2834, allocations: 183.8 kB / 384 MB, free: 38.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.2834, allocations: 48.8 kB / 384.1 MB, free: 38.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.2834, allocations: 5.312 kB / 384.1 MB, free: 38.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.467e-05/0.2835, allocations: 337 kB / 384.4 MB, free: 38.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.2838, allocations: 108.8 kB / 384.5 MB, free: 38.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.2841, allocations: 183.9 kB / 384.7 MB, free: 38.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/0.2848, allocations: 289.6 kB / 385 MB, free: 38.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2848, allocations: 5.156 kB / 385 MB, free: 38.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001077/0.2859, allocations: 482 kB / 385.5 MB, free: 37.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.05e-05/0.2859, allocations: 157.3 kB / 385.6 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.286, allocations: 6.062 kB / 385.6 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003057/0.2863, allocations: 75.45 kB / 385.7 MB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.2865, allocations: 53.47 kB / 385.7 MB, free: 37.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.2881, allocations: 1.751 MB / 387.5 MB, free: 35.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.2884, allocations: 60 kB / 387.6 MB, free: 35.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.2885, allocations: 8 kB / 387.6 MB, free: 35.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.2885, allocations: 4 kB / 387.6 MB, free: 35.71 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006464/0.2891, allocations: 346 kB / 387.9 MB, free: 35.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.2892, allocations: 0 / 387.9 MB, free: 35.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.32e-05/0.2893, allocations: 44.97 kB / 388 MB, free: 35.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.2894, allocations: 51.89 kB / 388 MB, free: 35.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008051/0.2903, allocations: 1.53 MB / 389.5 MB, free: 33.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.2905, allocations: 47.91 kB / 389.6 MB, free: 33.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.2906, allocations: 11.98 kB / 389.6 MB, free: 33.54 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.2907, allocations: 221 kB / 389.8 MB, free: 33.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.2907, allocations: 27.7 kB / 389.8 MB, free: 33.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.2908, allocations: 22.19 kB / 389.9 MB, free: 33.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2908, allocations: 0 / 389.9 MB, free: 33.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.2908, allocations: 4 kB / 389.9 MB, free: 33.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2908, allocations: 3.984 kB / 389.9 MB, free: 33.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.2911, allocations: 317.5 kB / 390.2 MB, free: 32.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2911, allocations: 8 kB / 390.2 MB, free: 32.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.2913, allocations: 31.97 kB / 390.2 MB, free: 32.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.2914, allocations: 80.75 kB / 390.3 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.2915, allocations: 3.984 kB / 390.3 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.2927, allocations: 1.636 MB / 391.9 MB, free: 31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2927, allocations: 3.938 kB / 391.9 MB, free: 31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.2937, allocations: 0.4935 MB / 392.4 MB, free: 30.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.2938, allocations: 100.8 kB / 392.5 MB, free: 30.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.2938, allocations: 12.06 kB / 392.5 MB, free: 30.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.2941, allocations: 31.97 kB / 392.6 MB, free: 30.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.2941, allocations: 27.95 kB / 392.6 MB, free: 30.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.2942, allocations: 4.188 kB / 392.6 MB, free: 30.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.2943, allocations: 190 kB / 392.8 MB, free: 30.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2943, allocations: 4 kB / 392.8 MB, free: 30.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004733/0.2948, allocations: 139.7 kB / 392.9 MB, free: 29.97 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001053/0.2949, allocations: 106.3 kB / 393 MB, free: 29.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.2961, allocations: 0.7494 MB / 393.8 MB, free: 29.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2961, allocations: 4.125 kB / 393.8 MB, free: 29.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003812/0.2965, allocations: 258.5 kB / 394 MB, free: 28.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.2968, allocations: 49.36 kB / 394.1 MB, free: 28.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008894/0.2977, allocations: 0.6759 MB / 394.8 MB, free: 28.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.2979, allocations: 0.7561 MB / 395.5 MB, free: 27.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.298, allocations: 19.44 kB / 395.5 MB, free: 27.23 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.298, allocations: 0 / 395.5 MB, free: 27.23 MB / 298.7 MB Notification: Performance of Templates: time 0.004941/0.3029, allocations: 4.46 MB / 400 MB, free: 22.77 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches