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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001799/0.001799, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00185/0.00185, allocations: 211 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002955/0.002955, allocations: 63.89 kB / 378.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2608, allocations: 53.42 MB / 432 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004178/0.265, allocations: 2.928 MB / 434.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.2663, allocations: 0.7207 MB / 435.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.2665, allocations: 4 kB / 435.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.2666, allocations: 47.52 kB / 435.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.2668, allocations: 107.2 kB / 435.8 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.2671, allocations: 95.83 kB / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.2675, allocations: 386.5 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.2677, allocations: 95.66 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.268, allocations: 163.4 kB / 436.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.2682, allocations: 167.3 kB / 436.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/0.2683, allocations: 39.94 kB / 436.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.877e-05/0.2683, allocations: 40 kB / 436.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.762e-05/0.2684, allocations: 75.7 kB / 436.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.2686, allocations: 171.1 kB / 437 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004728/0.269, allocations: 439.1 kB / 437.4 MB, free: 1.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.269, allocations: 4 kB / 437.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.269, allocations: 4 kB / 437.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.269, allocations: 0 / 437.5 MB, free: 1.352 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001116/0.2702, allocations: 0.5741 MB / 438 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2702, allocations: 12.03 kB / 438 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.312e-05/0.2702, allocations: 12.69 kB / 438.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.216e-05/0.2703, allocations: 54.73 kB / 438.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.2704, allocations: 36.73 kB / 438.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.2708, allocations: 249.7 kB / 438.4 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.2708, allocations: 16.88 kB / 438.4 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.2708, allocations: 28.38 kB / 438.4 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006034/0.2714, allocations: 276 kB / 438.7 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2714, allocations: 0 / 438.7 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.2715, allocations: 12 kB / 438.7 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2715, allocations: 8 kB / 438.7 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006876/0.2722, allocations: 249.8 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.2739, allocations: 1.013 MB / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006933/0.2746, allocations: 214.6 kB / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.2749, allocations: 88.8 kB / 440.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.2749, allocations: 7.984 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004245/0.2753, allocations: 169.8 kB / 440.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.2753, allocations: 3.938 kB / 440.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008838/0.2762, allocations: 292.3 kB / 440.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.2763, allocations: 106.8 kB / 440.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.2766, allocations: 265.8 kB / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.2766, allocations: 25.7 kB / 441.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.2768, allocations: 200.1 kB / 441.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.2768, allocations: 51.58 kB / 441.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-05/0.2769, allocations: 53.89 kB / 441.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2771, allocations: 330.8 kB / 441.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.2773, allocations: 92.17 kB / 441.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.2777, allocations: 188.2 kB / 442 MB, free: 12.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005919/0.2783, allocations: 273.7 kB / 442.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2783, allocations: 0 / 442.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007558/0.279, allocations: 339.1 kB / 442.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.2791, allocations: 33.7 kB / 442.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2791, allocations: 7.938 kB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2791, allocations: 4 kB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.2794, allocations: 59.89 kB / 442.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.2794, allocations: 7.938 kB / 442.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.2797, allocations: 51.88 kB / 442.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.2797, allocations: 8 kB / 442.8 MB, free: 11.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (der_.opAmp.satNeg,der_.opAmp.satPos,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 (28): * Single equations (assignments): 27 * 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.0001587/0.2798, allocations: 153.3 kB / 442.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.2799, allocations: 27.81 kB / 443 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.2799, allocations: 25.77 kB / 443 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.28, allocations: 4 kB / 443 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.28, allocations: 3.938 kB / 443 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.28, allocations: 0 / 443 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.2803, allocations: 292.5 kB / 443.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2803, allocations: 0 / 443.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.2805, allocations: 43.91 kB / 443.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2805, allocations: 0 / 443.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.2805, allocations: 3.984 kB / 443.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2805, allocations: 0 / 443.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2805, allocations: 3.938 kB / 443.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008835/0.2814, allocations: 344.8 kB / 443.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.2815, allocations: 19.83 kB / 443.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.2815, allocations: 15.92 kB / 443.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.2817, allocations: 32.03 kB / 443.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.2818, allocations: 23.84 kB / 443.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.2818, allocations: 4 kB / 443.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.282, allocations: 193.2 kB / 444 MB, free: 10.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.282, allocations: 0 / 444 MB, free: 10.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.2823, allocations: 67.84 kB / 444 MB, free: 10.37 MB / 350.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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,der_.opAmp.satPos,der_.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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.001214/0.2835, allocations: 0.8696 MB / 444.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006634/0.2842, allocations: 267.1 kB / 445.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2842, allocations: 0 / 445.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.2845, allocations: 91.94 kB / 445.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.2848, allocations: 67.08 kB / 445.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004854/0.2897, allocations: 2.893 MB / 448.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.2901, allocations: 0.7558 MB / 449 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.2902, allocations: 30.27 kB / 449 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.2903, allocations: 83.41 kB / 449.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2903, allocations: 4 kB / 449.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.318, allocations: 6.146 MB / 455.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.46, allocations: 19.31 kB / 455.2 MB, free: 15.1 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.Tau,der_.opAmp.V0,der_.opAmp.Vns,der_.opAmp.Vps,der_.opAmp.i_out,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.initOpAmp,der_.opAmp.out.i,der_.opAmp.out.v,der_.opAmp.p_in,der_.opAmp.p_out,der_.opAmp.p_s,der_.opAmp.satNeg,der_.opAmp.satPos,der_.opAmp.useFirstOrder,der_.opAmp.useSupply,der_.opAmp.v_in,der_.opAmp.v_int,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.90393261803547]