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.001271/0.001271, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 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.001365/0.001365, allocations: 189 kB / 24.49 MB, free: 3.941 MB / 14.72 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 1.408/1.408, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 55.92 kB / 371.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2449, allocations: 52.18 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004142/0.2491, allocations: 2.683 MB / 426.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.2503, allocations: 0.6895 MB / 426.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.2504, allocations: 4 kB / 426.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.2506, allocations: 47.52 kB / 426.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.2508, allocations: 107.2 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.2511, allocations: 119.7 kB / 427 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.2516, allocations: 382.6 kB / 427.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.2518, allocations: 91.67 kB / 427.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.2521, allocations: 159.3 kB / 427.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.2523, allocations: 163.3 kB / 427.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.2523, allocations: 40 kB / 427.8 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.985e-05/0.2524, allocations: 36 kB / 427.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.459e-05/0.2525, allocations: 79.69 kB / 428 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.2527, allocations: 139.4 kB / 428.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004823/0.2531, allocations: 426.3 kB / 428.5 MB, free: 9.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2531, allocations: 7.938 kB / 428.5 MB, free: 9.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2531, allocations: 0 / 428.5 MB, free: 9.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.2532, allocations: 3.984 kB / 428.5 MB, free: 9.234 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.001352/0.2545, allocations: 0.582 MB / 429.1 MB, free: 8.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2545, allocations: 8.031 kB / 429.1 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.169e-05/0.2546, allocations: 8.688 kB / 429.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.444e-05/0.2546, allocations: 62.72 kB / 429.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.571e-05/0.2547, allocations: 40.7 kB / 429.2 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.2552, allocations: 231 kB / 429.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.2552, allocations: 16.88 kB / 429.5 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/0.2552, allocations: 32.31 kB / 429.5 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007302/0.256, allocations: 340.3 kB / 429.8 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.256, allocations: 0 / 429.8 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.256, allocations: 12 kB / 429.8 MB, free: 7.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.256, allocations: 4 kB / 429.8 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007784/0.2568, allocations: 273.8 kB / 430.1 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.2586, allocations: 0.987 MB / 431.1 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008809/0.2595, allocations: 242.5 kB / 431.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.2598, allocations: 108.7 kB / 431.4 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.2598, allocations: 0 / 431.4 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004724/0.2603, allocations: 190.7 kB / 431.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.2603, allocations: 3.938 kB / 431.6 MB, free: 5.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001042/0.2613, allocations: 317.3 kB / 431.9 MB, free: 5.609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.2614, allocations: 77.11 kB / 432 MB, free: 5.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.2617, allocations: 273.8 kB / 432.3 MB, free: 5.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.2617, allocations: 29.7 kB / 432.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.2619, allocations: 204 kB / 432.5 MB, free: 5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.2619, allocations: 39.69 kB / 432.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-05/0.262, allocations: 49.66 kB / 432.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2622, allocations: 330.8 kB / 432.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.2625, allocations: 133.8 kB / 433 MB, free: 4.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.263, allocations: 248.1 kB / 433.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/0.2636, allocations: 295.8 kB / 433.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2636, allocations: 4 kB / 433.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008723/0.2645, allocations: 392.8 kB / 434 MB, free: 3.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.2646, allocations: 37.69 kB / 434 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2646, allocations: 4 kB / 434 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.2646, allocations: 7.984 kB / 434 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.2649, allocations: 67.89 kB / 434.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.2649, allocations: 11.88 kB / 434.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.2652, allocations: 55.8 kB / 434.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.2652, allocations: 12 kB / 434.2 MB, free: 3.203 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.0001474/0.2654, allocations: 145.7 kB / 434.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.2654, allocations: 15.91 kB / 434.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.011e-05/0.2654, allocations: 29.7 kB / 434.3 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2654, allocations: 0 / 434.3 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2655, allocations: 3.938 kB / 434.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2655, allocations: 0 / 434.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.2657, allocations: 260.5 kB / 434.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2657, allocations: 0 / 434.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.266, allocations: 43.95 kB / 434.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.266, allocations: 0 / 434.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.266, allocations: 12 kB / 434.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.266, allocations: 0 / 434.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.266, allocations: 3.938 kB / 434.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.267, allocations: 369.1 kB / 435 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.2671, allocations: 31.81 kB / 435.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.2671, allocations: 4.062 kB / 435.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.2674, allocations: 31.97 kB / 435.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.2674, allocations: 23.84 kB / 435.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.2675, allocations: 7.938 kB / 435.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.2676, allocations: 189.2 kB / 435.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2676, allocations: 0 / 435.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.2679, allocations: 67.88 kB / 435.4 MB, free: 1.91 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.001335/0.2693, allocations: 0.8973 MB / 436.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008012/0.2701, allocations: 317.4 kB / 436.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2701, allocations: 0 / 436.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.2704, allocations: 99.86 kB / 436.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.2707, allocations: 43.8 kB / 436.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/0.2754, allocations: 3.023 MB / 439.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.2755, allocations: 142.9 kB / 439.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.2757, allocations: 26.28 kB / 439.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.2758, allocations: 79.41 kB / 440 MB, free: 13.06 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2758, allocations: 0 / 440 MB, free: 13.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.3052, allocations: 6.007 MB / 446 MB, free: 7.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.36, allocations: 7.984 kB / 446 MB, free: 7.258 MB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",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(der_.c.v),der_.C,der_.R,der_.V0,der_.Vns,der_.Vps,der_.c.C,der_.c.i,der_.c.n.i,der_.c.n.v,der_.c.p.i,der_.c.p.v,der_.c.v,der_.f,der_.i1,der_.i2,der_.k,der_.n1.i,der_.n1.v,der_.n2.i,der_.n2.v,der_.opAmp.V0,der_.opAmp.Vns,der_.opAmp.Vps,der_.opAmp.homotopyType,der_.opAmp.i_s,der_.opAmp.in_n.i,der_.opAmp.in_n.v,der_.opAmp.in_p.i,der_.opAmp.in_p.v,der_.opAmp.out.i,der_.opAmp.out.v,der_.opAmp.p_in,der_.opAmp.p_out,der_.opAmp.p_s,der_.opAmp.strict,der_.opAmp.useSupply,der_.opAmp.v_in,der_.opAmp.v_out,der_.opAmp.vns,der_.opAmp.vps,der_.p1.i,der_.p1.v,der_.p2.i,der_.p2.v,der_.r.LossPower,der_.r.R,der_.r.R_actual,der_.r.T,der_.r.T_heatPort,der_.r.T_ref,der_.r.alpha,der_.r.i,der_.r.n.i,der_.r.n.v,der_.r.p.i,der_.r.p.v,der_.r.useHeatPort,der_.r.v,der_.v,der_.v1,der_.v2,f,ground.p.i,ground.p.v,time,vIn.V,vIn.falling,vIn.i,vIn.n.i,vIn.n.v,vIn.nperiod,vIn.offset,vIn.p.i,vIn.p.v,vIn.period,vIn.rising,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.signalSource.y,vIn.startTime,vIn.v,vIn.width,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v [Calling sys.exit(0), Time elapsed: 13.74377708695829]