Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 107.2 kB / 18.34 MB, free: 4.832 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.001757/0.001757, allocations: 192.1 kB / 19.28 MB, free: 3.898 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.488/1.488, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001256/0.001257, allocations: 47.94 kB / 282.1 MB, free: 2.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.09873, allocations: 46.62 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.004383/0.1032, allocations: 2.715 MB / 331.4 MB, free: 1.004 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1045, allocations: 0.7137 MB / 332.2 MB, free: 288 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.1047, allocations: 4 kB / 332.2 MB, free: 284 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.1049, allocations: 47.58 kB / 332.2 MB, free: 236 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1051, allocations: 87.25 kB / 332.3 MB, free: 148 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.1055, allocations: 95.81 kB / 332.4 MB, free: 52 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.1059, allocations: 354.6 kB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.1062, allocations: 80.72 kB / 332.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.1064, allocations: 135.4 kB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.1066, allocations: 147.4 kB / 333.1 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.1066, allocations: 32 kB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.192e-05/0.1067, allocations: 28 kB / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.1068, allocations: 67.7 kB / 333.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.1069, allocations: 139.3 kB / 333.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.1073, allocations: 326.9 kB / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1073, allocations: 0 / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1073, allocations: 7.938 kB / 333.7 MB, free: 14.76 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1073, allocations: 4 kB / 333.7 MB, free: 14.76 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001201/0.1085, allocations: 0.6301 MB / 334.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1086, allocations: 12.03 kB / 334.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.547e-05/0.1086, allocations: 28.66 kB / 334.3 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.1091, allocations: 279.4 kB / 334.6 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.1091, allocations: 16.81 kB / 334.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.1092, allocations: 24.36 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005878/0.1098, allocations: 247.5 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1098, allocations: 0 / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.1098, allocations: 8 kB / 334.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.1098, allocations: 4 kB / 334.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007023/0.1105, allocations: 257.5 kB / 335.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.112, allocations: 0.8619 MB / 336 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007135/0.1127, allocations: 230.5 kB / 336.2 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.113, allocations: 100.8 kB / 336.3 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.1131, allocations: 0 / 336.3 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004134/0.1135, allocations: 181.8 kB / 336.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.1135, allocations: 0 / 336.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.001865/0.1154, allocations: 0.593 MB / 337.1 MB, free: 11.08 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.1154, allocations: 106.8 kB / 337.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.1158, allocations: 266.6 kB / 337.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.1158, allocations: 29.7 kB / 337.5 MB, free: 10.64 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.1159, allocations: 179.8 kB / 337.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.116, allocations: 51.34 kB / 337.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/0.1161, allocations: 49.7 kB / 337.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1162, allocations: 330.8 kB / 338.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.1165, allocations: 100.8 kB / 338.2 MB, free: 9.926 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.1169, allocations: 169.4 kB / 338.4 MB, free: 9.727 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005807/0.1175, allocations: 276.5 kB / 338.6 MB, free: 9.426 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1175, allocations: 4 kB / 338.6 MB, free: 9.422 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001046/0.1186, allocations: 427.5 kB / 339.1 MB, free: 8.988 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.1186, allocations: 29.7 kB / 339.1 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1186, allocations: 4 kB / 339.1 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004562/0.1191, allocations: 112.8 kB / 339.2 MB, free: 8.836 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.1193, allocations: 43.91 kB / 339.2 MB, free: 8.793 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.1216, allocations: 1.927 MB / 341.2 MB, free: 6.723 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.1219, allocations: 43.94 kB / 341.2 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.1219, allocations: 8 kB / 341.2 MB, free: 6.672 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000342/0.1223, allocations: 188.1 kB / 341.4 MB, free: 6.484 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002965/0.1226, allocations: 169.7 kB / 341.6 MB, free: 6.285 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000506/0.1231, allocations: 245.2 kB / 341.8 MB, free: 6.012 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.1231, allocations: 0 / 341.8 MB, free: 6.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.000728/0.1239, allocations: 354.8 kB / 342.2 MB, free: 5.652 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.1239, allocations: 33.7 kB / 342.2 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.1239, allocations: 0 / 342.2 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/0.124, allocations: 44.83 kB / 342.2 MB, free: 5.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.1242, allocations: 43.91 kB / 342.3 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.1256, allocations: 1.709 MB / 344 MB, free: 3.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.1259, allocations: 47.88 kB / 344 MB, free: 3.633 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.126, allocations: 12 kB / 344 MB, free: 3.621 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.1261, allocations: 200.1 kB / 344.2 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.1262, allocations: 23.72 kB / 344.3 MB, free: 3.395 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.1262, allocations: 33.77 kB / 344.3 MB, free: 3.363 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1262, allocations: 4 kB / 344.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1262, allocations: 192 / 344.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1263, allocations: 7.984 kB / 344.3 MB, free: 3.352 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.1265, allocations: 297.3 kB / 344.6 MB, free: 3.012 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1266, allocations: 0 / 344.6 MB, free: 3.012 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.1267, allocations: 23.97 kB / 344.6 MB, free: 2.988 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/0.1269, allocations: 68.75 kB / 344.7 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.127, allocations: 4 kB / 344.7 MB, free: 2.914 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/0.129, allocations: 1.869 MB / 346.6 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.129, allocations: 192 / 346.6 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008127/0.1299, allocations: 329.6 kB / 346.9 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.021e-05/0.1299, allocations: 96.83 kB / 347 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.13, allocations: 11.94 kB / 347 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.1302, allocations: 27.95 kB / 347 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.1303, allocations: 27.97 kB / 347 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1303, allocations: 4 kB / 347.1 MB, free: 384 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1305, allocations: 186 kB / 347.2 MB, free: 200 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1305, allocations: 0 / 347.2 MB, free: 200 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006214/0.1311, allocations: 127.7 kB / 347.4 MB, free: 72 kB / 286.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 (9): * Single equations (assignments): 6 * 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.0001627/0.1313, allocations: 107.2 kB / 347.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.1329, allocations: 0.7306 MB / 348.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1329, allocations: 4 kB / 348.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004453/0.1334, allocations: 234.5 kB / 348.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.1337, allocations: 48.95 kB / 348.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.1356, allocations: 0.6913 MB / 349.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.136, allocations: 0.7521 MB / 349.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.1361, allocations: 26.28 kB / 349.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.1362, allocations: 19.44 kB / 350 MB, free: 13.34 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1362, allocations: 4 kB / 350 MB, free: 13.34 MB / 302.1 MB Notification: Performance of Templates: time 0.00862/0.1448, allocations: 4.219 MB / 354.2 MB, free: 9.121 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches