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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008814/0.0008814, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 146.8 kB / 24.89 MB, free: 8.785 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9384/0.9384, allocations: 173.4 MB / 201.5 MB, free: 9.16 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 268.5 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.464e-05, allocations: 2.312 kB / 268.5 MB, free: 6.129 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003962/0.003977, allocations: 2.834 MB / 271.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.005416, allocations: 0.7243 MB / 272.1 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.00557, allocations: 7.938 kB / 272.1 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.005737, allocations: 47.56 kB / 272.1 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.005965, allocations: 107.1 kB / 272.2 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.006269, allocations: 115.8 kB / 272.3 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.006713, allocations: 406.3 kB / 272.7 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.006898, allocations: 82.3 kB / 272.8 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/0.007235, allocations: 231.4 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.007441, allocations: 131.7 kB / 273.2 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.427e-05/0.007506, allocations: 40 kB / 273.2 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.317e-05/0.007559, allocations: 36 kB / 273.2 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.412e-05/0.007633, allocations: 79.69 kB / 273.3 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.007764, allocations: 119.7 kB / 273.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.008091, allocations: 243.1 kB / 273.7 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.008093, allocations: 0 / 273.7 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.008094, allocations: 0 / 273.7 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.008098, allocations: 0 / 273.7 MB, free: 0.9258 MB / 250.7 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.0008668/0.008965, allocations: 0.5454 MB / 274.2 MB, free: 356 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.008996, allocations: 8.031 kB / 274.2 MB, free: 348 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.756e-05/0.009073, allocations: 44.89 kB / 274.3 MB, free: 304 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.009327, allocations: 186.2 kB / 274.5 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.00935, allocations: 20.88 kB / 274.5 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.009394, allocations: 20.38 kB / 274.5 MB, free: 52 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.009794, allocations: 269.6 kB / 274.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.009805, allocations: 192 / 274.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.009829, allocations: 12.38 kB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.009839, allocations: 7.938 kB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.009986, allocations: 63.47 kB / 274.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.01116, allocations: 0.7717 MB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.01141, allocations: 98.39 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.01146, allocations: 28.73 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.01148, allocations: 7.938 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.01163, allocations: 130.7 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.01164, allocations: 0 / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002005/0.01184, allocations: 85.66 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.01188, allocations: 85.05 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.01206, allocations: 236.8 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.01208, allocations: 33.7 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.492e-05/0.01218, allocations: 187.9 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.01221, allocations: 43.67 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.157e-05/0.01228, allocations: 45.69 kB / 276.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.01238, allocations: 334.8 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/0.01244, allocations: 45.92 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.01257, allocations: 163 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.01269, allocations: 175.3 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01269, allocations: 3.938 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001641/0.01285, allocations: 200.8 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.01288, allocations: 33.7 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.01288, allocations: 4 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.0129, allocations: 4.344 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.01303, allocations: 67.89 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.01303, allocations: 4 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.01314, allocations: 43.77 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.01315, allocations: 11.94 kB / 277.6 MB, free: 12.61 MB / 266.7 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 7.036e-05/0.01322, allocations: 121.8 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.01324, allocations: 23.97 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.01327, allocations: 21.72 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.01327, allocations: 4 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.01328, allocations: 4 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01328, allocations: 3.984 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.01338, allocations: 149.7 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.01338, allocations: 0 / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.281e-05/0.01347, allocations: 31.97 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01347, allocations: 7.922 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.01348, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.01348, allocations: 4 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.01348, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.01363, allocations: 133 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.01366, allocations: 23.83 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.01368, allocations: 4 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.01375, allocations: 19.98 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.01378, allocations: 15.97 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.01379, allocations: 0 / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.37e-05/0.01384, allocations: 78.78 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01384, allocations: 0 / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001575/0.014, allocations: 67.84 kB / 278.3 MB, free: 11.86 MB / 266.7 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 7.008e-05/0.01407, allocations: 80.45 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.01423, allocations: 177.7 kB / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.01423, allocations: 4 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.664e-05/0.01428, allocations: 32.78 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.01442, allocations: 53.92 kB / 278.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.01506, allocations: 477.1 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.663e-05/0.0151, allocations: 80.31 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.444e-05/0.01517, allocations: 26.28 kB / 279.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.01528, allocations: 99.34 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01528, allocations: 0 / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of Templates: time 0.004464/0.01974, allocations: 3.242 MB / 282.6 MB, free: 7.586 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,der_.c.v,der_.opAmp.out.v,der_.opAmp.out.i Variables in the result:Vin,der_.C,der_.R,der_.V0,der_.Vns,der_.Vps,der_.c.C,der_.c.v,der_.f,der_.i1,der_.k,der_.opAmp.V0,der_.opAmp.Vns,der_.opAmp.Vps,der_.opAmp.homotopyType,der_.opAmp.out.i,der_.opAmp.out.v,der_.opAmp.strict,der_.opAmp.useSupply,der_.r.R,der_.r.T,der_.r.T_ref,der_.r.alpha,der_.v2,f,time,vIn.V,vIn.falling,vIn.nperiod,vIn.offset,vIn.period,vIn.rising,vIn.signalSource.T_falling,vIn.signalSource.T_rising,vIn.signalSource.T_width,vIn.signalSource.amplitude,vIn.signalSource.falling,vIn.signalSource.nperiod,vIn.signalSource.offset,vIn.signalSource.period,vIn.signalSource.rising,vIn.signalSource.startTime,vIn.signalSource.width,vIn.startTime,vIn.width filterSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff.mat", vars={"der_.opAmp.out.i", "der_.opAmp.out.v", "der_.c.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/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.ref.mat", vars={"der_.opAmp.out.i", "der_.opAmp.out.v", "der_.c.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.598777092061937]