Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.00129/0.00129, allocations: 101.3 kB / 17.05 MB, free: 6.125 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.001349/0.001349, allocations: 196.1 kB / 18 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 51.92 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4064, allocations: 49.43 MB / 400.8 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.005799/0.4122, allocations: 2.864 MB / 403.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.4143, allocations: 0.7167 MB / 404.3 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.4145, allocations: 4 kB / 404.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.4148, allocations: 43.58 kB / 404.4 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.4152, allocations: 111.2 kB / 404.5 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.4156, allocations: 107.8 kB / 404.6 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006013/0.4162, allocations: 402.4 kB / 405 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.4165, allocations: 115.3 kB / 405.1 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.4168, allocations: 151.5 kB / 405.2 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.417, allocations: 163.3 kB / 405.4 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/0.4171, allocations: 36 kB / 405.4 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.006e-05/0.4172, allocations: 40 kB / 405.5 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.734e-05/0.4173, allocations: 79.67 kB / 405.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.4175, allocations: 167.2 kB / 405.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.4181, allocations: 427.7 kB / 406.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4181, allocations: 0 / 406.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4181, allocations: 0 / 406.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4181, allocations: 0 / 406.1 MB, free: 3.48 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001558/0.4197, allocations: 0.6575 MB / 406.8 MB, free: 2.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4197, allocations: 15.89 kB / 406.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.4198, allocations: 32.56 kB / 406.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.4203, allocations: 288.6 kB / 407.1 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.4203, allocations: 20.94 kB / 407.1 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.4204, allocations: 24.38 kB / 407.2 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008267/0.4212, allocations: 320 kB / 407.5 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4212, allocations: 0 / 407.5 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.4213, allocations: 11.98 kB / 407.5 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.4213, allocations: 11.98 kB / 407.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009895/0.4223, allocations: 274 kB / 407.8 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.4245, allocations: 1.107 MB / 408.9 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.4257, allocations: 242.6 kB / 409.1 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.4261, allocations: 104.8 kB / 409.2 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.4262, allocations: 3.938 kB / 409.2 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005546/0.4267, allocations: 184.8 kB / 409.4 MB, free: 8 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.834e-06/0.4268, allocations: 3.938 kB / 409.4 MB, free: 4 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001336/0.4281, allocations: 305.2 kB / 409.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.4282, allocations: 81.11 kB / 409.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.4285, allocations: 270.5 kB / 410.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.4286, allocations: 41.64 kB / 410.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.4287, allocations: 191.5 kB / 410.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.4288, allocations: 39.45 kB / 410.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.4289, allocations: 49.7 kB / 410.4 MB, free: 15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.429, allocations: 334.8 kB / 410.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.4294, allocations: 100.2 kB / 410.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.4299, allocations: 192.2 kB / 411 MB, free: 14.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009001/0.4309, allocations: 307.7 kB / 411.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4309, allocations: 0 / 411.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001369/0.4322, allocations: 365.7 kB / 411.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.4323, allocations: 36.36 kB / 411.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.4323, allocations: 4 kB / 411.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4324, allocations: 4 kB / 411.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/0.4328, allocations: 76.09 kB / 411.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.4328, allocations: 4 kB / 411.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/0.4333, allocations: 47.66 kB / 411.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.4334, allocations: 12 kB / 411.8 MB, free: 13.44 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.0002295/0.4336, allocations: 141.8 kB / 412 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.4337, allocations: 19.8 kB / 412 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/0.4338, allocations: 29.72 kB / 412 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4338, allocations: 0 / 412 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4338, allocations: 0 / 412 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.4338, allocations: 7.922 kB / 412 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.4343, allocations: 321.3 kB / 412.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4343, allocations: 0 / 412.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.4347, allocations: 43.95 kB / 412.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.423e-06/0.4347, allocations: 0 / 412.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.4347, allocations: 7.938 kB / 412.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4347, allocations: 7.938 kB / 412.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4347, allocations: 0 / 412.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.4363, allocations: 364.6 kB / 412.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.4365, allocations: 100.9 kB / 412.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.917e-05/0.4365, allocations: 4 kB / 412.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.4369, allocations: 28.03 kB / 412.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.437, allocations: 15.98 kB / 412.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.437, allocations: 11.92 kB / 412.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003058/0.4373, allocations: 190 kB / 413.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4374, allocations: 0 / 413.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006457/0.438, allocations: 71.69 kB / 413.2 MB, free: 12 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.0002157/0.4382, allocations: 111.1 kB / 413.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.4394, allocations: 295 kB / 413.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4394, allocations: 0.6875 kB / 413.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.4399, allocations: 111.9 kB / 413.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.4404, allocations: 36.53 kB / 413.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.4421, allocations: 0.5213 MB / 414.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.4426, allocations: 0.7518 MB / 415 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.4428, allocations: 22.28 kB / 415 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.951e-05/0.4429, allocations: 27.44 kB / 415 MB, free: 10.06 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4429, allocations: 4 kB / 415 MB, free: 10.06 MB / 334.1 MB Notification: Performance of Templates: time 0.008791/0.4517, allocations: 3.018 MB / 418 MB, free: 7.074 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches