Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001205/0.001205, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001923, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 68.08 kB / 306.3 MB, free: 1.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1233, allocations: 50.54 MB / 356.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004363/0.1277, allocations: 2.925 MB / 359.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1296, allocations: 0.7519 MB / 360.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002676/0.1298, allocations: 4 kB / 360.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.1301, allocations: 27.77 kB / 360.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.1304, allocations: 83.38 kB / 360.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.1308, allocations: 99.86 kB / 360.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.1313, allocations: 366.5 kB / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.1315, allocations: 103.8 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/0.1319, allocations: 143.4 kB / 361.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.1321, allocations: 155.2 kB / 361.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.169e-05/0.1322, allocations: 20 kB / 361.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.802e-05/0.1323, allocations: 24 kB / 361.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.1323, allocations: 55.77 kB / 361.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.1325, allocations: 155.2 kB / 361.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.1329, allocations: 410.8 kB / 362.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1329, allocations: 0 / 362.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1329, allocations: 0 / 362.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1329, allocations: 0 / 362.1 MB, free: 9.191 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00136/0.1343, allocations: 0.6575 MB / 362.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1344, allocations: 8.031 kB / 362.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.669e-05/0.1345, allocations: 32.56 kB / 362.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.1348, allocations: 292.6 kB / 363.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.1349, allocations: 16.94 kB / 363.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.026e-05/0.1349, allocations: 24.38 kB / 363.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/0.1357, allocations: 327.8 kB / 363.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1357, allocations: 0 / 363.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.1357, allocations: 15.98 kB / 363.5 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1358, allocations: 4 kB / 363.5 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008374/0.1366, allocations: 270.1 kB / 363.7 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.1385, allocations: 1.127 MB / 364.9 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009262/0.1394, allocations: 250.5 kB / 365.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.1398, allocations: 100.8 kB / 365.2 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1398, allocations: 0 / 365.2 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004725/0.1403, allocations: 173 kB / 365.4 MB, free: 5.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.1403, allocations: 0 / 365.4 MB, free: 5.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001073/0.1414, allocations: 317.1 kB / 365.7 MB, free: 5.387 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.1415, allocations: 77.11 kB / 365.8 MB, free: 5.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.1417, allocations: 266.6 kB / 366 MB, free: 5.023 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1418, allocations: 25.7 kB / 366 MB, free: 4.992 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1419, allocations: 199.5 kB / 366.2 MB, free: 4.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.142, allocations: 43.52 kB / 366.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1421, allocations: 49.61 kB / 366.3 MB, free: 4.695 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1423, allocations: 334.8 kB / 366.6 MB, free: 4.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.1427, allocations: 104.1 kB / 366.8 MB, free: 4.254 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.1431, allocations: 197.3 kB / 366.9 MB, free: 4.023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007965/0.1439, allocations: 306.3 kB / 367.2 MB, free: 3.684 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.1439, allocations: 0 / 367.2 MB, free: 3.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001018/0.145, allocations: 362.9 kB / 367.6 MB, free: 3.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/0.145, allocations: 33.7 kB / 367.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.145, allocations: 4 kB / 367.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.1451, allocations: 7.984 kB / 367.6 MB, free: 3.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.1454, allocations: 63.89 kB / 367.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.1454, allocations: 12 kB / 367.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.1458, allocations: 51.73 kB / 367.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.1458, allocations: 12 kB / 367.8 MB, free: 3.129 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (26): * Single equations (assignments): 25 * 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.000202/0.1461, allocations: 145.7 kB / 367.9 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.1461, allocations: 23.72 kB / 367.9 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.854e-05/0.1462, allocations: 29.7 kB / 368 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1462, allocations: 7.938 kB / 368 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1462, allocations: 0 / 368 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1462, allocations: 3.938 kB / 368 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.1466, allocations: 301.5 kB / 368.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1466, allocations: 4 kB / 368.3 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.1469, allocations: 43.95 kB / 368.3 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1469, allocations: 0 / 368.3 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.1469, allocations: 11.92 kB / 368.3 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1469, allocations: 4 kB / 368.3 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1469, allocations: 0 / 368.3 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.148, allocations: 368.5 kB / 368.7 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.1481, allocations: 104.8 kB / 368.8 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.1482, allocations: 7.938 kB / 368.8 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.1485, allocations: 27.95 kB / 368.8 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.1486, allocations: 20.05 kB / 368.9 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.1486, allocations: 11.92 kB / 368.9 MB, free: 1.938 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002233/0.1488, allocations: 190 kB / 369.1 MB, free: 1.754 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1488, allocations: 0 / 369.1 MB, free: 1.754 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003576/0.1492, allocations: 63.84 kB / 369.1 MB, free: 1.691 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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 (12): * Single equations (assignments): 10 * 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.0002053/0.1494, allocations: 99.23 kB / 369.2 MB, free: 1.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008793/0.1503, allocations: 298.2 kB / 369.5 MB, free: 1.285 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1503, allocations: 0.6875 kB / 369.5 MB, free: 1.285 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.1507, allocations: 103.9 kB / 369.6 MB, free: 1.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.151, allocations: 40.75 kB / 369.6 MB, free: 1.145 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1523, allocations: 0.6325 MB / 370.3 MB, free: 496 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1511/0.3034, allocations: 0.7445 MB / 371 MB, free: 19.81 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.3036, allocations: 25.89 kB / 371 MB, free: 19.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.083e-05/0.3037, allocations: 21.84 kB / 371.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3037, allocations: 0 / 371.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of Templates: time 0.006765/0.3105, allocations: 2.733 MB / 373.8 MB, free: 19.73 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches