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.001274/0.001274, allocations: 120.1 kB / 18.49 MB, free: 4.566 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.001389/0.001389, allocations: 218.2 kB / 21.46 MB, free: 1.613 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.461/1.461, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.002853/0.002853, allocations: 55.91 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1242, allocations: 53.39 MB / 427.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00429/0.1285, allocations: 2.892 MB / 430 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1298, allocations: 0.7322 MB / 430.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1299, allocations: 4 kB / 430.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.1301, allocations: 51.5 kB / 430.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.1303, allocations: 107.2 kB / 430.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.1306, allocations: 95.83 kB / 431 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.131, allocations: 386.5 kB / 431.4 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.1312, allocations: 95.25 kB / 431.5 MB, free: 208 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.1315, allocations: 159.4 kB / 431.6 MB, free: 48 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.1317, allocations: 167.4 kB / 431.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.1318, allocations: 36 kB / 431.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-05/0.1318, allocations: 40 kB / 431.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.1319, allocations: 83.69 kB / 431.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.1321, allocations: 159.3 kB / 432.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004939/0.1326, allocations: 442.2 kB / 432.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1326, allocations: 8 kB / 432.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1326, allocations: 0 / 432.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1326, allocations: 0 / 432.5 MB, free: 15.12 MB / 366.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.001235/0.1338, allocations: 0.6571 MB / 433.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1339, allocations: 8.031 kB / 433.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.21e-05/0.1339, allocations: 8.75 kB / 433.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.203e-05/0.134, allocations: 62.72 kB / 433.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.134, allocations: 32.75 kB / 433.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.1345, allocations: 303.5 kB / 433.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1345, allocations: 24.94 kB / 433.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.1346, allocations: 24.38 kB / 433.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/0.1352, allocations: 276.8 kB / 433.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1352, allocations: 0 / 433.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.1352, allocations: 12 kB / 433.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.1353, allocations: 4 kB / 433.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006787/0.1359, allocations: 258.1 kB / 434.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.1377, allocations: 1.056 MB / 435.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007192/0.1384, allocations: 214.6 kB / 435.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.1387, allocations: 88.8 kB / 435.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1387, allocations: 0 / 435.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004337/0.1391, allocations: 171.1 kB / 435.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.1391, allocations: 0 / 435.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009505/0.1401, allocations: 287.1 kB / 436 MB, free: 11.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.1401, allocations: 106.8 kB / 436.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.1404, allocations: 274.5 kB / 436.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1405, allocations: 33.7 kB / 436.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1406, allocations: 192.1 kB / 436.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.1407, allocations: 51.58 kB / 436.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.384e-05/0.1407, allocations: 49.89 kB / 436.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1409, allocations: 338.8 kB / 437 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.1412, allocations: 88.16 kB / 437.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.1415, allocations: 183.4 kB / 437.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006271/0.1422, allocations: 281.6 kB / 437.5 MB, free: 9.754 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1422, allocations: 0 / 437.5 MB, free: 9.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000779/0.143, allocations: 334.8 kB / 437.9 MB, free: 9.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.143, allocations: 35.42 kB / 437.9 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.143, allocations: 7.938 kB / 437.9 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.143, allocations: 7.984 kB / 437.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.1433, allocations: 60.22 kB / 438 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1433, allocations: 11.92 kB / 438 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.1436, allocations: 43.86 kB / 438 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1436, allocations: 8 kB / 438 MB, free: 9.238 MB / 366.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.0001614/0.1438, allocations: 157.6 kB / 438.2 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.1438, allocations: 27.81 kB / 438.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.745e-05/0.1439, allocations: 25.83 kB / 438.2 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1439, allocations: 8 kB / 438.2 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.1439, allocations: 3.938 kB / 438.2 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1439, allocations: 0 / 438.2 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.1442, allocations: 321.5 kB / 438.6 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1442, allocations: 0 / 438.6 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.1445, allocations: 39.95 kB / 438.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1445, allocations: 0 / 438.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.1445, allocations: 0 / 438.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1445, allocations: 0 / 438.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1445, allocations: 11.88 kB / 438.6 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009009/0.1454, allocations: 340.8 kB / 438.9 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.1455, allocations: 104.9 kB / 439 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.1455, allocations: 8.062 kB / 439.1 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.1458, allocations: 31.97 kB / 439.1 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.1458, allocations: 19.91 kB / 439.1 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1458, allocations: 4 kB / 439.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.146, allocations: 190 kB / 439.3 MB, free: 7.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.146, allocations: 0 / 439.3 MB, free: 7.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.1464, allocations: 71.84 kB / 439.4 MB, free: 7.801 MB / 366.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.001226/0.1476, allocations: 0.8759 MB / 440.2 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007075/0.1483, allocations: 267.1 kB / 440.5 MB, free: 6.625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1483, allocations: 0 / 440.5 MB, free: 6.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.1486, allocations: 98.89 kB / 440.6 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.1489, allocations: 48.45 kB / 440.6 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/0.1538, allocations: 2.903 MB / 443.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.1542, allocations: 0.7558 MB / 444.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.1543, allocations: 30.22 kB / 444.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.1545, allocations: 87.41 kB / 444.4 MB, free: 2.539 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1545, allocations: 0 / 444.4 MB, free: 2.539 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2155/0.37, allocations: 5.911 MB / 450.3 MB, free: 24.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.724, allocations: 10.09 kB / 450.3 MB, free: 24.66 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.246558731014375]