Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 114.2 kB / 17.07 MB, free: 5.961 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.001204/0.001204, allocations: 198.8 kB / 18 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 48.06 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4666, allocations: 49.44 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.005656/0.4723, allocations: 2.79 MB / 403.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.4741, allocations: 0.6388 MB / 404.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003856/0.4746, allocations: 4 kB / 404.2 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.4749, allocations: 43.56 kB / 404.2 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.4755, allocations: 95.2 kB / 404.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.4759, allocations: 87.83 kB / 404.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.4764, allocations: 382.5 kB / 404.8 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.4766, allocations: 122.9 kB / 404.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.4769, allocations: 143.4 kB / 405 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.4771, allocations: 163.3 kB / 405.2 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.175e-05/0.4772, allocations: 36 kB / 405.2 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.828e-05/0.4772, allocations: 32 kB / 405.3 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.4773, allocations: 71.75 kB / 405.3 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.4775, allocations: 175.2 kB / 405.5 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005272/0.4781, allocations: 371.9 kB / 405.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4781, allocations: 0 / 405.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4781, allocations: 0 / 405.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.4781, allocations: 0 / 405.9 MB, free: 3.711 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001534/0.4797, allocations: 0.6459 MB / 406.5 MB, free: 3.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.474e-05/0.4797, allocations: 12.03 kB / 406.5 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.4799, allocations: 40.44 kB / 406.6 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.4805, allocations: 284.5 kB / 406.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.4805, allocations: 16.94 kB / 406.9 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.4806, allocations: 24.38 kB / 406.9 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007542/0.4813, allocations: 303.7 kB / 407.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4814, allocations: 0 / 407.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.4814, allocations: 12 kB / 407.2 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.4814, allocations: 4 kB / 407.2 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007776/0.4822, allocations: 261.5 kB / 407.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.4843, allocations: 1.081 MB / 408.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007453/0.485, allocations: 210.5 kB / 408.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.4853, allocations: 96.83 kB / 408.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.4854, allocations: 7.984 kB / 408.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004408/0.4858, allocations: 157.8 kB / 409 MB, free: 364 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.4858, allocations: 4 kB / 409 MB, free: 360 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.002038/0.4879, allocations: 0.5028 MB / 409.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.845e-05/0.488, allocations: 110.8 kB / 409.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.4884, allocations: 282.7 kB / 409.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.4884, allocations: 33.7 kB / 409.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.4886, allocations: 203.5 kB / 410.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.4887, allocations: 35.45 kB / 410.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.4888, allocations: 53.94 kB / 410.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.489, allocations: 326.8 kB / 410.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.4893, allocations: 100.1 kB / 410.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.4897, allocations: 206.1 kB / 410.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007227/0.4905, allocations: 305.3 kB / 411.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.4905, allocations: 7.938 kB / 411.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001183/0.4917, allocations: 423.2 kB / 411.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.671e-05/0.4917, allocations: 37.69 kB / 411.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4918, allocations: 4 kB / 411.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004124/0.4922, allocations: 76.69 kB / 411.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.4924, allocations: 48.05 kB / 411.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/0.4953, allocations: 1.719 MB / 413.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.4957, allocations: 63.64 kB / 413.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.4958, allocations: 12 kB / 413.5 MB, free: 11.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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.0002194/0.496, allocations: 145.7 kB / 413.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.4961, allocations: 23.72 kB / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.412e-05/0.4961, allocations: 25.7 kB / 413.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4961, allocations: 0 / 413.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4962, allocations: 0 / 413.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4962, allocations: 4 kB / 413.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.4965, allocations: 309.3 kB / 414 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4965, allocations: 0 / 414 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.4967, allocations: 19.97 kB / 414 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002508/0.4969, allocations: 68.81 kB / 414.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.497, allocations: 4 kB / 414.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/0.4994, allocations: 1.703 MB / 415.8 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4994, allocations: 0 / 415.8 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009925/0.5004, allocations: 313.4 kB / 416.1 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.5005, allocations: 116.8 kB / 416.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.5006, allocations: 0 / 416.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.5008, allocations: 27.97 kB / 416.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.501, allocations: 23.97 kB / 416.3 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.501, allocations: 7.984 kB / 416.3 MB, free: 8.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002656/0.5012, allocations: 201.9 kB / 416.5 MB, free: 8.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.72e-07/0.5013, allocations: 0 / 416.5 MB, free: 8.285 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000442/0.5017, allocations: 83.83 kB / 416.5 MB, free: 8.203 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (7): * Single equations (assignments): 4 * 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.000225/0.5019, allocations: 106.5 kB / 416.6 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.503, allocations: 413.9 kB / 417.1 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5031, allocations: 0 / 417.1 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.5035, allocations: 227.1 kB / 417.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.5038, allocations: 48.94 kB / 417.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.5051, allocations: 456.1 kB / 417.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.5056, allocations: 0.748 MB / 418.5 MB, free: 6.137 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.5057, allocations: 34.27 kB / 418.5 MB, free: 6.098 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.5058, allocations: 19.44 kB / 418.6 MB, free: 6.078 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5058, allocations: 0 / 418.6 MB, free: 6.078 MB / 334.1 MB Notification: Performance of Templates: time 0.01067/0.5164, allocations: 4.221 MB / 422.8 MB, free: 1.895 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches