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.001233/0.001233, allocations: 114.5 kB / 17.93 MB, free: 5.566 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.001093/0.001093, allocations: 189.9 kB / 18.86 MB, free: 4.645 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.585/1.585, allocations: 205.1 MB / 224.7 MB, free: 12.32 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.001482/0.001482, allocations: 51.94 kB / 280.8 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1056, allocations: 46.63 MB / 327.4 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004069/0.1097, allocations: 2.652 MB / 330.1 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.111, allocations: 0.7021 MB / 330.8 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.1112, allocations: 4 kB / 330.8 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.1114, allocations: 31.7 kB / 330.8 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.1115, allocations: 71.45 kB / 330.9 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1118, allocations: 75.94 kB / 331 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003815/0.1122, allocations: 334.6 kB / 331.3 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.1124, allocations: 76.72 kB / 331.4 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.1126, allocations: 123.5 kB / 331.5 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.1128, allocations: 143.4 kB / 331.6 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.1129, allocations: 28 kB / 331.7 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.623e-05/0.1129, allocations: 28 kB / 331.7 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.113, allocations: 67.7 kB / 331.8 MB, free: 440 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.1131, allocations: 131.4 kB / 331.9 MB, free: 308 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.1134, allocations: 235.6 kB / 332.1 MB, free: 72 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1135, allocations: 4 kB / 332.1 MB, free: 68 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1135, allocations: 0 / 332.1 MB, free: 68 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.1135, allocations: 0 / 332.1 MB, free: 68 kB / 270.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.001319/0.1148, allocations: 0.6104 MB / 332.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.1149, allocations: 12.03 kB / 332.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.683e-05/0.115, allocations: 24.66 kB / 332.8 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.1153, allocations: 275.4 kB / 333 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.1153, allocations: 16.75 kB / 333.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/0.1154, allocations: 24.38 kB / 333.1 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005885/0.116, allocations: 236.6 kB / 333.3 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.116, allocations: 0 / 333.3 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.116, allocations: 12 kB / 333.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1161, allocations: 4 kB / 333.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007054/0.1168, allocations: 247.5 kB / 333.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.1182, allocations: 0.8247 MB / 334.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.119, allocations: 226.6 kB / 334.6 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.1193, allocations: 88.8 kB / 334.7 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.1193, allocations: 4 kB / 334.7 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005103/0.1199, allocations: 168.9 kB / 334.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.1199, allocations: 0 / 334.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001702/0.1216, allocations: 0.5423 MB / 335.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.1217, allocations: 81.11 kB / 335.5 MB, free: 12.45 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.1219, allocations: 236.9 kB / 335.7 MB, free: 12.2 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1219, allocations: 29.7 kB / 335.8 MB, free: 12.17 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1221, allocations: 167.9 kB / 335.9 MB, free: 12 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.1221, allocations: 43.45 kB / 336 MB, free: 11.96 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.1222, allocations: 41.7 kB / 336 MB, free: 11.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1224, allocations: 326.8 kB / 336.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.1227, allocations: 100.7 kB / 336.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.123, allocations: 150.7 kB / 336.6 MB, free: 11.31 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005546/0.1236, allocations: 246.9 kB / 336.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1236, allocations: 0 / 336.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009665/0.1246, allocations: 383.8 kB / 337.2 MB, free: 10.65 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.1246, allocations: 33.7 kB / 337.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1246, allocations: 0 / 337.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/0.1251, allocations: 100.7 kB / 337.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.1253, allocations: 47.89 kB / 337.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.1271, allocations: 1.558 MB / 338.9 MB, free: 8.766 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.1273, allocations: 35.81 kB / 339 MB, free: 8.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.1274, allocations: 12 kB / 339 MB, free: 8.719 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003148/0.1277, allocations: 176.1 kB / 339.1 MB, free: 8.543 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002696/0.128, allocations: 138.8 kB / 339.3 MB, free: 8.383 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005132/0.1285, allocations: 219.6 kB / 339.5 MB, free: 8.141 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.412e-06/0.1285, allocations: 0 / 339.5 MB, free: 8.141 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006806/0.1292, allocations: 310.8 kB / 339.8 MB, free: 7.824 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.1292, allocations: 33.7 kB / 339.8 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1293, allocations: 4 kB / 339.8 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.453e-05/0.1293, allocations: 29.03 kB / 339.9 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.1295, allocations: 47.89 kB / 339.9 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.1306, allocations: 1.548 MB / 341.4 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.1309, allocations: 31.81 kB / 341.5 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1309, allocations: 12 kB / 341.5 MB, free: 5.973 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.000132/0.131, allocations: 196.2 kB / 341.7 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.1311, allocations: 15.81 kB / 341.7 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.1311, allocations: 29.83 kB / 341.7 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1311, allocations: 0 / 341.7 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1311, allocations: 0 / 341.7 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1311, allocations: 0 / 341.7 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.1314, allocations: 289.3 kB / 342 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1314, allocations: 0 / 342 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.1316, allocations: 43.95 kB / 342.1 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000163/0.1318, allocations: 40.83 kB / 342.1 MB, free: 5.316 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.1318, allocations: 4 kB / 342.1 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.1333, allocations: 1.55 MB / 343.6 MB, free: 3.617 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1333, allocations: 0 / 343.6 MB, free: 3.617 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.1344, allocations: 409.6 kB / 344 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.1344, allocations: 96.84 kB / 344.1 MB, free: 3.082 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.1345, allocations: 4 kB / 344.1 MB, free: 3.078 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.1347, allocations: 23.97 kB / 344.2 MB, free: 3.055 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/0.1348, allocations: 23.97 kB / 344.2 MB, free: 3.031 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.1348, allocations: 4 kB / 344.2 MB, free: 3.027 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.135, allocations: 176.4 kB / 344.4 MB, free: 2.855 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.135, allocations: 0 / 344.4 MB, free: 2.855 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005197/0.1355, allocations: 111.8 kB / 344.5 MB, free: 2.746 MB / 286.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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001579/0.1357, allocations: 107.2 kB / 344.6 MB, free: 2.633 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.1371, allocations: 0.6483 MB / 345.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1371, allocations: 0 / 345.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004293/0.1375, allocations: 219.1 kB / 345.4 MB, free: 1.707 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1379, allocations: 40.36 kB / 345.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.139, allocations: 0.6084 MB / 346.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1394, allocations: 0.7401 MB / 346.8 MB, free: 268 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/0.1395, allocations: 23.44 kB / 346.9 MB, free: 244 kB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1395, allocations: 0 / 346.9 MB, free: 244 kB / 286.1 MB Notification: Performance of Templates: time 0.006936/0.1464, allocations: 3.935 MB / 350.8 MB, free: 12.3 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches