Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Differentiator,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.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,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.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002213/0.002213, allocations: 110.6 kB / 17.73 MB, free: 5.34 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.002332/0.002332, allocations: 194.9 kB / 18.67 MB, free: 4.406 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.798/1.798, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001924/0.001924, allocations: 59.84 kB / 328.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1326, allocations: 46.61 MB / 375.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00456/0.1373, allocations: 2.602 MB / 377.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1387, allocations: 0.7095 MB / 378.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.1389, allocations: 4 kB / 378.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.1391, allocations: 39.64 kB / 378.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1393, allocations: 83.27 kB / 378.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1396, allocations: 95.81 kB / 378.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004466/0.1401, allocations: 330.5 kB / 379 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.1403, allocations: 84.69 kB / 379.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.1405, allocations: 131.5 kB / 379.2 MB, free: 460 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.1408, allocations: 135.4 kB / 379.4 MB, free: 324 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.948e-05/0.1408, allocations: 28 kB / 379.4 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.1409, allocations: 28 kB / 379.4 MB, free: 268 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.857e-05/0.141, allocations: 63.7 kB / 379.5 MB, free: 204 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.1412, allocations: 135.3 kB / 379.6 MB, free: 68 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2913/0.4325, allocations: 301.5 kB / 379.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.4326, allocations: 0 / 379.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.02e-06/0.4326, allocations: 0 / 379.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.4327, allocations: 0 / 379.9 MB, free: 10.16 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.001671/0.4343, allocations: 0.6289 MB / 380.5 MB, free: 9.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.4344, allocations: 8.5 kB / 380.5 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.4345, allocations: 26.83 kB / 380.6 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.4351, allocations: 269.6 kB / 380.8 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.4351, allocations: 15.62 kB / 380.9 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.4352, allocations: 17.2 kB / 380.9 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.4359, allocations: 239 kB / 381.1 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4359, allocations: 5.312 kB / 381.1 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.436, allocations: 10.28 kB / 381.1 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.436, allocations: 4.781 kB / 381.1 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007865/0.4368, allocations: 244.8 kB / 381.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.4385, allocations: 0.8127 MB / 382.2 MB, free: 9.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.4395, allocations: 232.3 kB / 382.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.4399, allocations: 100.9 kB / 382.5 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.4399, allocations: 1.938 kB / 382.5 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005005/0.4404, allocations: 157.9 kB / 382.7 MB, free: 8.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.775e-06/0.4405, allocations: 4 kB / 382.7 MB, free: 8.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.00124/0.4417, allocations: 286.9 kB / 382.9 MB, free: 8.855 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.114e-05/0.4418, allocations: 87.59 kB / 383 MB, free: 8.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.4422, allocations: 244.8 kB / 383.3 MB, free: 8.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.4422, allocations: 28.64 kB / 383.3 MB, free: 8.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.4424, allocations: 161.8 kB / 383.4 MB, free: 8.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.4425, allocations: 45.89 kB / 383.5 MB, free: 8.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.4426, allocations: 38.86 kB / 383.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4427, allocations: 333.4 kB / 383.9 MB, free: 8.152 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.4431, allocations: 94.89 kB / 384 MB, free: 8.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.4435, allocations: 144.7 kB / 384.1 MB, free: 8.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007063/0.4442, allocations: 251.7 kB / 384.3 MB, free: 7.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.4442, allocations: 0 / 384.3 MB, free: 7.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000998/0.4453, allocations: 312 kB / 384.6 MB, free: 7.898 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.618e-05/0.4453, allocations: 36.94 kB / 384.7 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.4454, allocations: 1.906 kB / 384.7 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.312e-05/0.4454, allocations: 3.734 kB / 384.7 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.4457, allocations: 54.48 kB / 384.7 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.4457, allocations: 3.891 kB / 384.7 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.4461, allocations: 42.31 kB / 384.8 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.4461, allocations: 11.95 kB / 384.8 MB, free: 7.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003854/0.4465, allocations: 172.3 kB / 385 MB, free: 7.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003389/0.4469, allocations: 140.4 kB / 385.1 MB, free: 7.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005539/0.4475, allocations: 226.8 kB / 385.3 MB, free: 7.613 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.4475, allocations: 0 / 385.3 MB, free: 7.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000682/0.4482, allocations: 294.8 kB / 385.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.4482, allocations: 37.72 kB / 385.6 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4482, allocations: 2.109 kB / 385.6 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.485e-06/0.4482, allocations: 3.188 kB / 385.7 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.4485, allocations: 49.19 kB / 385.7 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4485, allocations: 3.484 kB / 385.7 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.4488, allocations: 38.58 kB / 385.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.4488, allocations: 14.89 kB / 385.8 MB, free: 7.48 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 (22): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.449, allocations: 198.8 kB / 385.9 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.449, allocations: 21.8 kB / 386 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.92e-05/0.4491, allocations: 24.05 kB / 386 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.4491, allocations: 1.281 kB / 386 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.4491, allocations: 0.7031 kB / 386 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.4491, allocations: 1.969 kB / 386 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.4495, allocations: 287.5 kB / 386.3 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4495, allocations: 0.5156 kB / 386.3 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.4498, allocations: 48.75 kB / 386.3 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4498, allocations: 0 / 386.3 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.4498, allocations: 7.375 kB / 386.3 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.4498, allocations: 5.219 kB / 386.3 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4498, allocations: 3.281 kB / 386.3 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.4509, allocations: 339.8 kB / 386.7 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.451, allocations: 99.91 kB / 386.8 MB, free: 6.887 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.451, allocations: 1.922 kB / 386.8 MB, free: 6.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.4513, allocations: 30.56 kB / 386.8 MB, free: 6.883 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.4514, allocations: 16.98 kB / 386.8 MB, free: 6.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.4514, allocations: 6.672 kB / 386.8 MB, free: 6.883 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002402/0.4516, allocations: 170.4 kB / 387 MB, free: 6.805 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4517, allocations: 1 kB / 387 MB, free: 6.805 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005923/0.4523, allocations: 102.2 kB / 387.1 MB, free: 6.789 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002018/0.4525, allocations: 108 kB / 387.2 MB, free: 6.699 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.4538, allocations: 426.9 kB / 387.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4538, allocations: 1.281 kB / 387.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.4541, allocations: 99.91 kB / 387.7 MB, free: 6.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.4546, allocations: 48.33 kB / 387.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.456, allocations: 487 kB / 388.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.4563, allocations: 0.7362 MB / 389 MB, free: 5.461 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.4565, allocations: 26.33 kB / 389 MB, free: 5.457 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.184e-05/0.4566, allocations: 23.97 kB / 389 MB, free: 5.449 MB / 318.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4566, allocations: 1.25 kB / 389 MB, free: 5.449 MB / 318.1 MB Notification: Performance of Templates: time 0.0106/0.4672, allocations: 2.991 MB / 392 MB, free: 5.254 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches