Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 106.5 kB / 17.73 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 187.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001374, allocations: 51.92 kB / 328.6 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1454, allocations: 46.62 MB / 375.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004402/0.1498, allocations: 2.816 MB / 378 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1513, allocations: 0.7562 MB / 378.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.1515, allocations: 4 kB / 378.8 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.1517, allocations: 43.56 kB / 378.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.1519, allocations: 103.1 kB / 378.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.1523, allocations: 103.8 kB / 379 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.1527, allocations: 390.3 kB / 379.4 MB, free: 324 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.1529, allocations: 92.92 kB / 379.5 MB, free: 232 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.1531, allocations: 147.4 kB / 379.6 MB, free: 84 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.327/0.4801, allocations: 164.6 kB / 379.8 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.4804, allocations: 32.69 kB / 379.8 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.4806, allocations: 30.88 kB / 379.8 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.4807, allocations: 68.47 kB / 379.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.481, allocations: 159 kB / 380.1 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007088/0.4817, allocations: 360.2 kB / 380.4 MB, free: 9.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4817, allocations: 0 / 380.4 MB, free: 9.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4818, allocations: 0 / 380.4 MB, free: 9.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.4818, allocations: 1.25 kB / 380.4 MB, free: 9.965 MB / 318.1 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.001438/0.4832, allocations: 0.6667 MB / 381.1 MB, free: 9.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.4833, allocations: 9.375 kB / 381.1 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.4834, allocations: 41.31 kB / 381.1 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.4839, allocations: 289.7 kB / 381.4 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.4839, allocations: 17.38 kB / 381.4 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.484, allocations: 22.66 kB / 381.5 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/0.4847, allocations: 268.6 kB / 381.7 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.4847, allocations: 3.938 kB / 381.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.4848, allocations: 9.75 kB / 381.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.4848, allocations: 5.5 kB / 381.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008599/0.4856, allocations: 268.9 kB / 382 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.4876, allocations: 0.9094 MB / 382.9 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008743/0.4885, allocations: 241 kB / 383.1 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.4889, allocations: 105.6 kB / 383.2 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.4889, allocations: 8.234 kB / 383.3 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004869/0.4894, allocations: 178.8 kB / 383.4 MB, free: 8.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.4894, allocations: 0 / 383.4 MB, free: 8.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.002266/0.4917, allocations: 0.617 MB / 384 MB, free: 8.504 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.4918, allocations: 110.9 kB / 384.2 MB, free: 8.375 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.4921, allocations: 263.1 kB / 384.4 MB, free: 8.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.4922, allocations: 31.02 kB / 384.4 MB, free: 8.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.4923, allocations: 186.2 kB / 384.6 MB, free: 8.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.4924, allocations: 57.53 kB / 384.7 MB, free: 8.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.888e-05/0.4924, allocations: 50.97 kB / 384.7 MB, free: 8.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.4925, allocations: 334 kB / 385.1 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.4929, allocations: 103.2 kB / 385.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.4933, allocations: 169.6 kB / 385.3 MB, free: 7.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006768/0.494, allocations: 259.6 kB / 385.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.494, allocations: 1.938 kB / 385.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001148/0.4951, allocations: 438.7 kB / 386 MB, free: 7.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.4952, allocations: 32.86 kB / 386 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.4952, allocations: 2.766 kB / 386 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005588/0.4958, allocations: 117.2 kB / 386.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.496, allocations: 48.02 kB / 386.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.4981, allocations: 1.886 MB / 388.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.4984, allocations: 50.91 kB / 388.1 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.4985, allocations: 7.688 kB / 388.1 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003565/0.4988, allocations: 192.9 kB / 388.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003256/0.4992, allocations: 147.5 kB / 388.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000545/0.4997, allocations: 244.4 kB / 388.7 MB, free: 5.391 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.4997, allocations: 5.5 kB / 388.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0008091/0.5005, allocations: 344.4 kB / 389.1 MB, free: 5.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.5006, allocations: 32.78 kB / 389.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.5006, allocations: 7.031 kB / 389.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.5007, allocations: 41.91 kB / 389.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.501, allocations: 49.67 kB / 389.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.5022, allocations: 1.721 MB / 390.9 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.5025, allocations: 47.09 kB / 391 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.5025, allocations: 11.06 kB / 391 MB, free: 3.527 MB / 318.1 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.5027, allocations: 200.5 kB / 391.2 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.5028, allocations: 24.14 kB / 391.2 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.954e-05/0.5028, allocations: 27.7 kB / 391.2 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5029, allocations: 2.125 kB / 391.2 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5029, allocations: 3.938 kB / 391.2 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5029, allocations: 1.125 kB / 391.2 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004173/0.5033, allocations: 312.7 kB / 391.5 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5033, allocations: 9.031 kB / 391.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.5035, allocations: 35.23 kB / 391.6 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002441/0.5038, allocations: 61.69 kB / 391.6 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.5038, allocations: 5 kB / 391.6 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.5056, allocations: 1.712 MB / 393.3 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5057, allocations: 1.125 kB / 393.3 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.5069, allocations: 446.4 kB / 393.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.507, allocations: 103 kB / 393.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.5071, allocations: 5.812 kB / 393.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.5073, allocations: 30.75 kB / 393.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.5074, allocations: 20.88 kB / 393.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.5074, allocations: 4.719 kB / 393.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.5077, allocations: 199.5 kB / 394.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5077, allocations: 0 / 394.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006511/0.5083, allocations: 137.2 kB / 394.3 MB, free: 1.07 MB / 318.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001489/0.5085, allocations: 105 kB / 394.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.5099, allocations: 0.7095 MB / 395.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5099, allocations: 1.312 kB / 395.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.5104, allocations: 250.4 kB / 395.3 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.5108, allocations: 52.55 kB / 395.4 MB, free: 356 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.512, allocations: 0.535 MB / 395.9 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.5125, allocations: 0.7612 MB / 396.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.5127, allocations: 28.61 kB / 396.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.426e-05/0.5128, allocations: 20.45 kB / 396.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5128, allocations: 3.938 kB / 396.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of Templates: time 0.01296/0.5258, allocations: 4.567 MB / 401.3 MB, free: 14.4 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches