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.001275/0.001275, allocations: 117.6 kB / 17.78 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 203.9 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.641/1.641, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 55.91 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4217, allocations: 50.55 MB / 409.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.005489/0.4272, allocations: 2.882 MB / 412.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.4293, allocations: 0.7402 MB / 412.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.4296, allocations: 11.94 kB / 412.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.43, allocations: 47.56 kB / 413 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.4303, allocations: 95.19 kB / 413 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.4307, allocations: 107.8 kB / 413.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005374/0.4312, allocations: 398.5 kB / 413.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.4315, allocations: 135.2 kB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003384/0.4319, allocations: 151.5 kB / 413.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.4321, allocations: 167.2 kB / 414 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.154e-05/0.4322, allocations: 36 kB / 414 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.406e-05/0.4323, allocations: 40 kB / 414.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.4323, allocations: 75.75 kB / 414.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.4325, allocations: 167.2 kB / 414.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004638/0.433, allocations: 423.7 kB / 414.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.433, allocations: 0 / 414.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.433, allocations: 0 / 414.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.433, allocations: 0 / 414.7 MB, free: 12.11 MB / 334.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.001498/0.4345, allocations: 0.6614 MB / 415.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.4346, allocations: 12.03 kB / 415.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.883e-05/0.4347, allocations: 36.55 kB / 415.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005242/0.4352, allocations: 288.7 kB / 415.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.4353, allocations: 16.94 kB / 415.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.4353, allocations: 28.31 kB / 415.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007792/0.4361, allocations: 320 kB / 416.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.4362, allocations: 0 / 416.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.4362, allocations: 4 kB / 416.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.4362, allocations: 8 kB / 416.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008184/0.437, allocations: 282 kB / 416.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.4389, allocations: 1.111 MB / 417.5 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00092/0.4399, allocations: 246.6 kB / 417.7 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.4402, allocations: 100.8 kB / 417.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.4403, allocations: 3.984 kB / 417.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005425/0.4408, allocations: 180.9 kB / 418 MB, free: 8.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.4408, allocations: 0 / 418 MB, free: 8.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001169/0.442, allocations: 305.2 kB / 418.3 MB, free: 8.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.4421, allocations: 81.11 kB / 418.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.4424, allocations: 274.5 kB / 418.6 MB, free: 7.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.4425, allocations: 33.7 kB / 418.7 MB, free: 7.914 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.4426, allocations: 195.5 kB / 418.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.4427, allocations: 39.45 kB / 418.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.4428, allocations: 49.69 kB / 418.9 MB, free: 7.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.443, allocations: 334.8 kB / 419.3 MB, free: 7.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/0.4434, allocations: 108.1 kB / 419.4 MB, free: 7.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.4438, allocations: 191.5 kB / 419.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007748/0.4446, allocations: 299.7 kB / 419.8 MB, free: 6.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4446, allocations: 0 / 419.8 MB, free: 6.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009778/0.4456, allocations: 358.7 kB / 420.2 MB, free: 6.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.486e-05/0.4457, allocations: 37.7 kB / 420.2 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.4457, allocations: 4 kB / 420.2 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.4457, allocations: 4 kB / 420.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.4461, allocations: 72.19 kB / 420.3 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.4461, allocations: 4 kB / 420.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.4464, allocations: 51.66 kB / 420.4 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.4464, allocations: 15.98 kB / 420.4 MB, free: 6.059 MB / 334.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.0001985/0.4467, allocations: 142 kB / 420.5 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.4467, allocations: 23.72 kB / 420.5 MB, free: 5.887 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.831e-05/0.4468, allocations: 37.64 kB / 420.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4468, allocations: 0 / 420.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4468, allocations: 0 / 420.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4468, allocations: 3.938 kB / 420.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.4472, allocations: 309.4 kB / 420.9 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4472, allocations: 0 / 420.9 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.4475, allocations: 47.95 kB / 420.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4475, allocations: 3.938 kB / 420.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.4475, allocations: 11.98 kB / 420.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.4475, allocations: 3.938 kB / 421 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.4476, allocations: 3.984 kB / 421 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.4487, allocations: 365 kB / 421.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.4488, allocations: 100.9 kB / 421.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.4489, allocations: 0 / 421.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.4491, allocations: 36.02 kB / 421.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.4492, allocations: 15.98 kB / 421.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.4492, allocations: 7.938 kB / 421.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002078/0.4494, allocations: 194 kB / 421.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4494, allocations: 0 / 421.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.4498, allocations: 63.75 kB / 421.7 MB, free: 4.617 MB / 334.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.0001725/0.45, allocations: 103.2 kB / 421.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008597/0.4508, allocations: 306.8 kB / 422.1 MB, free: 4.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.4508, allocations: 4.125 kB / 422.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.4512, allocations: 99.86 kB / 422.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.4516, allocations: 45.58 kB / 422.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.4528, allocations: 0.5174 MB / 422.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.4533, allocations: 0.7557 MB / 423.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.4535, allocations: 30.27 kB / 423.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.529e-05/0.4536, allocations: 27.38 kB / 423.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4536, allocations: 0 / 423.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of Templates: time 0.007292/0.4609, allocations: 3.034 MB / 426.6 MB, free: 15.67 MB / 350.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