Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,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.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,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.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 104.1 kB / 18.36 MB, free: 4.758 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.00117/0.00117, allocations: 188.1 kB / 19.3 MB, free: 3.832 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.333/1.333, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001247/0.001247, allocations: 51.94 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08477/0.08602, allocations: 46.63 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003555/0.08962, allocations: 2.613 MB / 331.4 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.09072, allocations: 0.7021 MB / 332.1 MB, free: 404 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.09084, allocations: 4 kB / 332.1 MB, free: 400 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.091, allocations: 39.58 kB / 332.1 MB, free: 360 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.09116, allocations: 79.33 kB / 332.2 MB, free: 280 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.09142, allocations: 91.83 kB / 332.3 MB, free: 188 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.09182, allocations: 330.6 kB / 332.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.09202, allocations: 88.69 kB / 332.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.09221, allocations: 119.6 kB / 332.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.09239, allocations: 147.4 kB / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.09244, allocations: 28 kB / 333 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.476e-05/0.0925, allocations: 28 kB / 333 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.09256, allocations: 59.7 kB / 333.1 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.09271, allocations: 135.3 kB / 333.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.09301, allocations: 302.9 kB / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.09302, allocations: 0 / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.09303, allocations: 4 kB / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.09305, allocations: 0 / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001177/0.09423, allocations: 0.6182 MB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.09427, allocations: 8.031 kB / 334.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.09434, allocations: 24.66 kB / 334.1 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.09473, allocations: 271.6 kB / 334.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.09476, allocations: 12.75 kB / 334.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.09481, allocations: 20.38 kB / 334.4 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.09538, allocations: 244.6 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.0954, allocations: 0 / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.09543, allocations: 7.938 kB / 334.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.09544, allocations: 8 kB / 334.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007392/0.09619, allocations: 243.6 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.09748, allocations: 0.8208 MB / 335.7 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/0.09826, allocations: 230.5 kB / 336 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.09855, allocations: 88.78 kB / 336.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.09859, allocations: 8 kB / 336.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003932/0.09899, allocations: 157 kB / 336.2 MB, free: 12.03 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.099, allocations: 0 / 336.2 MB, free: 12.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.00174/0.1007, allocations: 0.5419 MB / 336.8 MB, free: 11.46 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.1008, allocations: 85.09 kB / 336.8 MB, free: 11.36 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.1011, allocations: 232.9 kB / 337.1 MB, free: 11.12 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1011, allocations: 33.7 kB / 337.1 MB, free: 11.08 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1012, allocations: 171.9 kB / 337.3 MB, free: 10.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.1013, allocations: 39.45 kB / 337.3 MB, free: 10.87 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.434e-05/0.1014, allocations: 41.7 kB / 337.4 MB, free: 10.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1015, allocations: 330.8 kB / 337.7 MB, free: 10.49 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.1018, allocations: 100.7 kB / 337.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.1021, allocations: 146.7 kB / 337.9 MB, free: 10.22 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005537/0.1027, allocations: 246.8 kB / 338.2 MB, free: 9.953 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1027, allocations: 4 kB / 338.2 MB, free: 9.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009641/0.1037, allocations: 383.7 kB / 338.5 MB, free: 9.559 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.1037, allocations: 37.69 kB / 338.6 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1037, allocations: 4 kB / 338.6 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004089/0.1041, allocations: 88.8 kB / 338.7 MB, free: 9.422 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.1043, allocations: 47.95 kB / 338.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.106, allocations: 1.57 MB / 340.3 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.1063, allocations: 43.8 kB / 340.3 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.1063, allocations: 8 kB / 340.3 MB, free: 7.613 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003087/0.1067, allocations: 172.1 kB / 340.5 MB, free: 7.441 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002674/0.1069, allocations: 138.8 kB / 340.6 MB, free: 7.281 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004646/0.1074, allocations: 219.5 kB / 340.9 MB, free: 7.039 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.1074, allocations: 0 / 340.9 MB, free: 7.039 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000654/0.1081, allocations: 306.8 kB / 341.2 MB, free: 6.727 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.1081, allocations: 41.69 kB / 341.2 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.1081, allocations: 0 / 341.2 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.036e-05/0.1082, allocations: 24.84 kB / 341.2 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.1084, allocations: 48.09 kB / 341.3 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009663/0.1094, allocations: 1.548 MB / 342.8 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.1096, allocations: 31.81 kB / 342.8 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.1097, allocations: 12 kB / 342.9 MB, free: 4.875 MB / 286.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 (20): * Single equations (assignments): 18 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.1098, allocations: 192.1 kB / 343 MB, free: 4.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.1098, allocations: 23.8 kB / 343.1 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.1099, allocations: 25.91 kB / 343.1 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1099, allocations: 0 / 343.1 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1099, allocations: 3.984 kB / 343.1 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.1099, allocations: 100.7 kB / 343.2 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.11, allocations: 15.94 kB / 343.2 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.1102, allocations: 19.97 kB / 343.2 MB, free: 4.48 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.1103, allocations: 19.97 kB / 343.2 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001002/0.1113, allocations: 378.1 kB / 343.6 MB, free: 4.082 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009224/0.1122, allocations: 490.4 kB / 344.1 MB, free: 3.586 MB / 286.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002732/0.1125, allocations: 95.89 kB / 344.2 MB, free: 3.492 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.1127, allocations: 168.5 kB / 344.4 MB, free: 3.328 MB / 286.1 MB Notification: Performance of Backend: time 5.92e-07/0.1127, allocations: 3.938 kB / 344.4 MB, free: 3.324 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.1139, allocations: 0.6595 MB / 345 MB, free: 2.605 MB / 286.1 MB Notification: Performance of SimCode: time 0.0009513/0.1149, allocations: 0.9337 MB / 346 MB, free: 1.625 MB / 286.1 MB Notification: Performance of Templates: time 0.007559/0.1225, allocations: 4.261 MB / 350.2 MB, free: 13.36 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches