Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.377/1.377, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 43.92 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2332, allocations: 53.36 MB / 432 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00415/0.2373, allocations: 2.918 MB / 434.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.2387, allocations: 0.7518 MB / 435.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.2388, allocations: 7.938 kB / 435.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.239, allocations: 51.56 kB / 435.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.2392, allocations: 103.2 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.2395, allocations: 115.8 kB / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004342/0.2399, allocations: 394.4 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.2401, allocations: 95.66 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.2404, allocations: 155.5 kB / 436.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.2406, allocations: 163.2 kB / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.904e-05/0.2407, allocations: 40 kB / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.549e-05/0.2407, allocations: 40 kB / 436.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.699e-05/0.2408, allocations: 71.77 kB / 436.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.241, allocations: 167.2 kB / 437 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.2414, allocations: 434.7 kB / 437.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2414, allocations: 0 / 437.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2414, allocations: 0 / 437.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.2414, allocations: 0 / 437.4 MB, free: 1.383 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.00122/0.2427, allocations: 0.5936 MB / 438 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2427, allocations: 12.03 kB / 438 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.089e-05/0.2427, allocations: 4.688 kB / 438 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.111e-05/0.2428, allocations: 58.73 kB / 438.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.133e-05/0.2428, allocations: 32.75 kB / 438.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.2433, allocations: 242.8 kB / 438.4 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.2433, allocations: 24.88 kB / 438.4 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.2433, allocations: 20.38 kB / 438.4 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/0.244, allocations: 314.6 kB / 438.7 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.244, allocations: 3.938 kB / 438.7 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.2441, allocations: 16.02 kB / 438.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.2441, allocations: 12 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007944/0.2449, allocations: 269.8 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.2467, allocations: 1.065 MB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009472/0.2476, allocations: 242.5 kB / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.2479, allocations: 96.78 kB / 440.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.248, allocations: 4 kB / 440.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005352/0.2485, allocations: 165 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.2485, allocations: 0 / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001083/0.2496, allocations: 321.2 kB / 440.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.2496, allocations: 81.11 kB / 441 MB, free: 13.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.2499, allocations: 265.8 kB / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.25, allocations: 29.7 kB / 441.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.2501, allocations: 196 kB / 441.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.2501, allocations: 51.62 kB / 441.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.631e-05/0.2502, allocations: 45.7 kB / 441.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2504, allocations: 330.8 kB / 441.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.2508, allocations: 104.2 kB / 442 MB, free: 12.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.2512, allocations: 195.5 kB / 442.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.2519, allocations: 310.6 kB / 442.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2519, allocations: 4 kB / 442.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000884/0.2528, allocations: 362.8 kB / 442.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.2528, allocations: 33.69 kB / 442.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2528, allocations: 4.344 kB / 442.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2528, allocations: 8 kB / 442.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.2531, allocations: 67.89 kB / 442.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.2531, allocations: 11.88 kB / 442.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.2534, allocations: 55.73 kB / 443 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.2534, allocations: 8 kB / 443 MB, free: 11.46 MB / 350.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.0001538/0.2536, allocations: 149.8 kB / 443.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.2536, allocations: 27.84 kB / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.613e-05/0.2537, allocations: 21.7 kB / 443.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.2537, allocations: 0 / 443.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2537, allocations: 3.938 kB / 443.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2537, allocations: 4 kB / 443.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.254, allocations: 280.5 kB / 443.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.254, allocations: 0 / 443.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.2543, allocations: 47.89 kB / 443.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2543, allocations: 4 kB / 443.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.2543, allocations: 4 kB / 443.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2543, allocations: 0 / 443.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2543, allocations: 3.938 kB / 443.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.2554, allocations: 364.7 kB / 443.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.2554, allocations: 27.83 kB / 443.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.2555, allocations: 8.047 kB / 443.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.2557, allocations: 31.97 kB / 443.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.2558, allocations: 19.91 kB / 444 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.2558, allocations: 4 kB / 444 MB, free: 10.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001995/0.256, allocations: 185.2 kB / 444.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.256, allocations: 0 / 444.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.2563, allocations: 71.84 kB / 444.2 MB, free: 10.15 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: 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.001406/0.2577, allocations: 0.9055 MB / 445.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008548/0.2585, allocations: 287.2 kB / 445.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2585, allocations: 0 / 445.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.2589, allocations: 100.5 kB / 445.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.2592, allocations: 59.42 kB / 445.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.264, allocations: 2.899 MB / 448.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.2644, allocations: 0.748 MB / 449.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.2645, allocations: 30.28 kB / 449.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.2647, allocations: 79.41 kB / 449.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2647, allocations: 0 / 449.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.2939, allocations: 5.808 MB / 455.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.08, allocations: 18.33 kB / 455.1 MB, free: 15.2 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.395799071993679]