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.001266/0.001266, allocations: 105.5 kB / 17.73 MB, free: 5.238 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.001107/0.001107, allocations: 187.1 kB / 18.66 MB, free: 4.312 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.692/1.692, 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.001388/0.001388, allocations: 47.92 kB / 328.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1267, allocations: 46.61 MB / 375.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.00537/0.1321, allocations: 2.598 MB / 377.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.1341, allocations: 0.7096 MB / 378.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00028/0.1344, allocations: 7.938 kB / 378.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.1347, allocations: 39.64 kB / 378.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.135, allocations: 83.28 kB / 378.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.1355, allocations: 95.81 kB / 378.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006758/0.1362, allocations: 334.5 kB / 379 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.1365, allocations: 80.7 kB / 379.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003836/0.1369, allocations: 127.5 kB / 379.2 MB, free: 472 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.1372, allocations: 135.4 kB / 379.4 MB, free: 336 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.489e-05/0.1373, allocations: 32 kB / 379.4 MB, free: 304 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.858e-05/0.1374, allocations: 28 kB / 379.4 MB, free: 276 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.1374, allocations: 67.7 kB / 379.5 MB, free: 208 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.1377, allocations: 135.3 kB / 379.6 MB, free: 72 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3303/0.468, allocations: 294.4 kB / 379.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.4681, allocations: 1.25 kB / 379.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4681, allocations: 0.5625 kB / 379.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.4681, allocations: 0 / 379.9 MB, free: 10.39 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00139/0.4695, allocations: 0.6158 MB / 380.5 MB, free: 9.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.4696, allocations: 9.625 kB / 380.5 MB, free: 9.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.989e-05/0.4697, allocations: 29.75 kB / 380.6 MB, free: 9.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.4701, allocations: 265.8 kB / 380.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.4701, allocations: 16.89 kB / 380.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.4702, allocations: 18.2 kB / 380.9 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/0.4708, allocations: 238.5 kB / 381.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.4709, allocations: 5.188 kB / 381.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.4709, allocations: 9.375 kB / 381.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.4709, allocations: 7.656 kB / 381.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007811/0.4717, allocations: 244.7 kB / 381.4 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.4732, allocations: 0.8056 MB / 382.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009133/0.4741, allocations: 229.6 kB / 382.4 MB, free: 9.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.4745, allocations: 97.91 kB / 382.5 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.4745, allocations: 1.75 kB / 382.5 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/0.475, allocations: 163.8 kB / 382.6 MB, free: 9.176 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.475, allocations: 0 / 382.6 MB, free: 9.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001958/0.477, allocations: 0.5449 MB / 383.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.477, allocations: 82.95 kB / 383.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.4773, allocations: 237.5 kB / 383.5 MB, free: 8.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.4774, allocations: 36.16 kB / 383.5 MB, free: 8.781 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.4775, allocations: 159.7 kB / 383.7 MB, free: 8.668 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.4776, allocations: 39.64 kB / 383.7 MB, free: 8.645 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.4777, allocations: 46.22 kB / 383.8 MB, free: 8.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.4778, allocations: 331.6 kB / 384.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.4781, allocations: 105 kB / 384.2 MB, free: 8.297 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.4785, allocations: 146.2 kB / 384.3 MB, free: 8.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006305/0.4791, allocations: 247.5 kB / 384.6 MB, free: 8.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.4791, allocations: 0 / 384.6 MB, free: 8.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001068/0.4802, allocations: 391.7 kB / 385 MB, free: 8.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.4803, allocations: 33.36 kB / 385 MB, free: 8.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4803, allocations: 1.5 kB / 385 MB, free: 8.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005094/0.4808, allocations: 97.72 kB / 385.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.481, allocations: 46.53 kB / 385.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.4825, allocations: 1.56 MB / 386.7 MB, free: 6.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.4828, allocations: 38.38 kB / 386.7 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.4828, allocations: 7.922 kB / 386.7 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003074/0.4831, allocations: 177.8 kB / 386.9 MB, free: 6.555 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003303/0.4835, allocations: 133 kB / 387 MB, free: 6.488 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005124/0.484, allocations: 232.4 kB / 387.3 MB, free: 6.391 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/0.484, allocations: 0 / 387.3 MB, free: 6.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007309/0.4848, allocations: 307.8 kB / 387.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.4848, allocations: 36.94 kB / 387.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.4848, allocations: 2.156 kB / 387.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.179e-05/0.4849, allocations: 29.3 kB / 387.6 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.4851, allocations: 45.73 kB / 387.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008275/0.4859, allocations: 1.545 MB / 389.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.4862, allocations: 33.59 kB / 389.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.4862, allocations: 9.406 kB / 389.3 MB, free: 4.754 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 (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.0001044/0.4863, allocations: 203.4 kB / 389.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.4864, allocations: 22.78 kB / 389.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.4864, allocations: 22.98 kB / 389.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4864, allocations: 1.609 kB / 389.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4864, allocations: 4.938 kB / 389.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.4864, allocations: 4.031 kB / 389.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.4867, allocations: 283.4 kB / 389.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.4867, allocations: 0 / 389.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.4869, allocations: 30.78 kB / 389.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001809/0.4871, allocations: 51.66 kB / 389.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.4872, allocations: 2.438 kB / 389.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.4885, allocations: 1.551 MB / 391.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4885, allocations: 0 / 391.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.4897, allocations: 398.9 kB / 391.8 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.4898, allocations: 96.25 kB / 391.9 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.4898, allocations: 6.016 kB / 391.9 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.49, allocations: 27.78 kB / 392 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.4901, allocations: 21.2 kB / 392 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.4902, allocations: 8.562 kB / 392 MB, free: 2.574 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.4904, allocations: 172.4 kB / 392.2 MB, free: 2.469 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4904, allocations: 0 / 392.2 MB, free: 2.469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005022/0.4909, allocations: 109.3 kB / 392.3 MB, free: 2.445 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001469/0.491, allocations: 104.4 kB / 392.4 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.4925, allocations: 0.6597 MB / 393 MB, free: 1.918 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4925, allocations: 1.062 kB / 393 MB, free: 1.918 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004926/0.493, allocations: 211.1 kB / 393.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.4934, allocations: 48.88 kB / 393.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.4948, allocations: 0.4906 MB / 393.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.4951, allocations: 0.7503 MB / 394.5 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.4952, allocations: 23.14 kB / 394.5 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.183e-05/0.4953, allocations: 18.84 kB / 394.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of SimCode: time 1.824e-06/0.4953, allocations: 0 / 394.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of Templates: time 0.0103/0.5056, allocations: 3.701 MB / 398.3 MB, free: 0.4922 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/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