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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.62 kB / 306.4 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1168, allocations: 50.53 MB / 356.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.005377/0.1222, allocations: 2.913 MB / 359.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.1242, allocations: 0.748 MB / 360.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/0.1247, allocations: 7.938 kB / 360.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.1251, allocations: 31.75 kB / 360.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005194/0.1256, allocations: 83.38 kB / 360.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/0.1262, allocations: 99.92 kB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000797/0.127, allocations: 366.5 kB / 361.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.1274, allocations: 104.5 kB / 361.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005272/0.1279, allocations: 135.4 kB / 361.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003906/0.1283, allocations: 155.2 kB / 361.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-05/0.1284, allocations: 24 kB / 361.6 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1286, allocations: 24 kB / 361.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.675e-05/0.1287, allocations: 59.75 kB / 361.6 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.129, allocations: 151.2 kB / 361.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005817/0.1296, allocations: 402.9 kB / 362.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.1296, allocations: 0 / 362.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1296, allocations: 0 / 362.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.198e-05/0.1297, allocations: 0 / 362.2 MB, free: 9.113 MB / 302.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.001904/0.1316, allocations: 0.6692 MB / 362.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/0.1316, allocations: 8.031 kB / 362.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.1318, allocations: 58.73 kB / 362.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.1319, allocations: 32.56 kB / 362.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/0.1325, allocations: 296.5 kB / 363.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.1325, allocations: 24.92 kB / 363.3 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-05/0.1326, allocations: 24.38 kB / 363.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008786/0.1335, allocations: 323.7 kB / 363.6 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1335, allocations: 0 / 363.6 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.1336, allocations: 12 kB / 363.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.1336, allocations: 11.94 kB / 363.6 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009172/0.1345, allocations: 266.1 kB / 363.9 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.1372, allocations: 1.123 MB / 365 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009545/0.1381, allocations: 250.5 kB / 365.2 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.1385, allocations: 100.8 kB / 365.3 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.1385, allocations: 4 kB / 365.3 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006766/0.1392, allocations: 168.8 kB / 365.5 MB, free: 5.547 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.833e-06/0.1392, allocations: 0 / 365.5 MB, free: 5.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0012/0.1404, allocations: 313.1 kB / 365.8 MB, free: 5.234 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1406, allocations: 97.08 kB / 365.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.141, allocations: 258.6 kB / 366.2 MB, free: 4.859 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.141, allocations: 33.7 kB / 366.2 MB, free: 4.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.1412, allocations: 195.5 kB / 366.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.1412, allocations: 35.55 kB / 366.4 MB, free: 4.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.1414, allocations: 53.61 kB / 366.5 MB, free: 4.531 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1416, allocations: 330.8 kB / 366.8 MB, free: 4.199 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.1419, allocations: 104.2 kB / 366.9 MB, free: 4.094 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.1424, allocations: 196.6 kB / 367.1 MB, free: 3.863 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007397/0.1431, allocations: 303.8 kB / 367.4 MB, free: 3.523 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1432, allocations: 0 / 367.4 MB, free: 3.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009393/0.1441, allocations: 360.8 kB / 367.7 MB, free: 3.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/0.1442, allocations: 37.69 kB / 367.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.1442, allocations: 8.344 kB / 367.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.1442, allocations: 4 kB / 367.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.1445, allocations: 67.89 kB / 367.9 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.1445, allocations: 4 kB / 367.9 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.1449, allocations: 51.73 kB / 367.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.1449, allocations: 8 kB / 367.9 MB, free: 2.977 MB / 302.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.0001762/0.1451, allocations: 157.7 kB / 368.1 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.1451, allocations: 19.72 kB / 368.1 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957e-05/0.1452, allocations: 25.7 kB / 368.1 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.1452, allocations: 0 / 368.1 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1452, allocations: 3.938 kB / 368.1 MB, free: 2.762 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1452, allocations: 3.938 kB / 368.1 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.1456, allocations: 313.5 kB / 368.4 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1456, allocations: 0 / 368.4 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.1458, allocations: 51.94 kB / 368.5 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.1458, allocations: 0 / 368.5 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.1459, allocations: 8 kB / 368.5 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1459, allocations: 4 kB / 368.5 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1459, allocations: 0 / 368.5 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.147, allocations: 372.9 kB / 368.9 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.761e-05/0.1471, allocations: 100.8 kB / 369 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.1471, allocations: 16 kB / 369 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.1474, allocations: 23.97 kB / 369 MB, free: 1.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.1475, allocations: 23.91 kB / 369 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.1475, allocations: 4 kB / 369 MB, free: 1.773 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.1477, allocations: 190 kB / 369.2 MB, free: 1.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1477, allocations: 0 / 369.2 MB, free: 1.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.148, allocations: 59.84 kB / 369.3 MB, free: 1.531 MB / 302.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.001453/0.1495, allocations: 0.9089 MB / 370.2 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000859/0.1504, allocations: 295.2 kB / 370.5 MB, free: 300 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1504, allocations: 0 / 370.5 MB, free: 300 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.1507, allocations: 100.5 kB / 370.6 MB, free: 200 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.1511, allocations: 48.45 kB / 370.6 MB, free: 152 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2196/0.3708, allocations: 2.986 MB / 373.6 MB, free: 19.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.3712, allocations: 0.7495 MB / 374.3 MB, free: 18.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001946/0.3714, allocations: 26.45 kB / 374.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.3716, allocations: 81.88 kB / 374.5 MB, free: 18.31 MB / 302.1 MB Notification: Performance of SimCode: time 2.044e-06/0.3716, allocations: 0 / 374.5 MB, free: 18.31 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.3929, allocations: 5.069 MB / 379.5 MB, free: 17.93 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.3932, allocations: 214.9 kB / 379.7 MB, free: 17.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.233, allocations: 0 / 379.7 MB, free: 17.68 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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