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.000885/0.0008851, allocations: 93.38 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 207.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 227.7 MB / 246.8 MB, free: 9.699 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002022/0.0002025, allocations: 8 kB / 307.8 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07978/0.08, allocations: 51.52 MB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002765/0.08279, allocations: 2.551 MB / 361.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.08413, allocations: 0.7441 MB / 362.7 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.08433, allocations: 8 kB / 362.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.08448, allocations: 31.77 kB / 362.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.08471, allocations: 83.38 kB / 362.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.08499, allocations: 103.8 kB / 362.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.08536, allocations: 362.6 kB / 363.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.08557, allocations: 107.8 kB / 363.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.08583, allocations: 123.4 kB / 363.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.08603, allocations: 151.2 kB / 363.6 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.08607, allocations: 16 kB / 363.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.027e-05/0.08612, allocations: 16 kB / 363.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.08618, allocations: 51.77 kB / 363.7 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.08632, allocations: 169 kB / 363.9 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.08664, allocations: 394.7 kB / 364.2 MB, free: 8.074 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.08665, allocations: 3.938 kB / 364.3 MB, free: 8.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.08666, allocations: 0 / 364.3 MB, free: 8.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.08667, allocations: 0 / 364.3 MB, free: 8.07 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.001068/0.08774, allocations: 0.6381 MB / 364.9 MB, free: 7.371 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.08779, allocations: 12.02 kB / 364.9 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.303e-05/0.08786, allocations: 54.73 kB / 365 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/0.08793, allocations: 32.56 kB / 365 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.08824, allocations: 292.6 kB / 365.3 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.08827, allocations: 16.94 kB / 365.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.08832, allocations: 28.38 kB / 365.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006811/0.08901, allocations: 339.7 kB / 365.6 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.08903, allocations: 0 / 365.6 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.08906, allocations: 12 kB / 365.7 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.08907, allocations: 8 kB / 365.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00078/0.08986, allocations: 298.1 kB / 366 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.09152, allocations: 1.143 MB / 367.1 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008514/0.09239, allocations: 278.5 kB / 367.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.09273, allocations: 120.8 kB / 367.5 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.09276, allocations: 0 / 367.5 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004413/0.09321, allocations: 188.9 kB / 367.7 MB, free: 4.414 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.09322, allocations: 0 / 367.7 MB, free: 4.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001034/0.09426, allocations: 357.2 kB / 368 MB, free: 4.059 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.09432, allocations: 85.09 kB / 368.1 MB, free: 3.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.09457, allocations: 266.5 kB / 368.4 MB, free: 3.688 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.0946, allocations: 29.7 kB / 368.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.09471, allocations: 191.5 kB / 368.6 MB, free: 3.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.09476, allocations: 51.39 kB / 368.6 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.0948, allocations: 17.72 kB / 368.7 MB, free: 3.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.09491, allocations: 338.8 kB / 369 MB, free: 3.047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.09526, allocations: 120.1 kB / 369.1 MB, free: 2.926 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.09565, allocations: 204.6 kB / 369.3 MB, free: 2.688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007011/0.09636, allocations: 331.8 kB / 369.6 MB, free: 2.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.09637, allocations: 0 / 369.6 MB, free: 2.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008696/0.09725, allocations: 397.9 kB / 370 MB, free: 1.922 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.09729, allocations: 33.7 kB / 370 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.0973, allocations: 0 / 370 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.09732, allocations: 4 kB / 370.1 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.0976, allocations: 79.94 kB / 370.1 MB, free: 1.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.09761, allocations: 7.938 kB / 370.1 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.09791, allocations: 63.75 kB / 370.2 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.09794, allocations: 15.98 kB / 370.2 MB, free: 1.715 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.0001237/0.09807, allocations: 149.7 kB / 370.4 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.09811, allocations: 23.66 kB / 370.4 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.09816, allocations: 29.7 kB / 370.4 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.09817, allocations: 0 / 370.4 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.09818, allocations: 0 / 370.4 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.09819, allocations: 7.938 kB / 370.4 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.09844, allocations: 309.5 kB / 370.7 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.09845, allocations: 4 kB / 370.7 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.09869, allocations: 47.95 kB / 370.8 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.0987, allocations: 0 / 370.8 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.09872, allocations: 3.984 kB / 370.8 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.09873, allocations: 0 / 370.8 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.09873, allocations: 8 kB / 370.8 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.09978, allocations: 416.4 kB / 371.2 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.09985, allocations: 100.8 kB / 371.3 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.0999, allocations: 8 kB / 371.3 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.1001, allocations: 40.02 kB / 371.3 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.1002, allocations: 19.92 kB / 371.4 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1002, allocations: 0 / 371.4 MB, free: 484 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.1004, allocations: 194 kB / 371.5 MB, free: 292 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1004, allocations: 0 / 371.5 MB, free: 292 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.1007, allocations: 63.84 kB / 371.6 MB, free: 228 kB / 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.1455/0.2462, allocations: 0.9387 MB / 372.5 MB, free: 18.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008796/0.2471, allocations: 330.6 kB / 372.9 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2472, allocations: 1.312 kB / 372.9 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003712/0.2475, allocations: 119.3 kB / 373 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.2479, allocations: 46.42 kB / 373 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004638/0.2526, allocations: 3.099 MB / 376.1 MB, free: 17.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.2528, allocations: 0.75 MB / 376.9 MB, free: 16.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.253, allocations: 28.7 kB / 376.9 MB, free: 16.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.2532, allocations: 78.33 kB / 377 MB, free: 16.32 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2532, allocations: 0 / 377 MB, free: 16.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.2696, allocations: 4.979 MB / 382 MB, free: 15.96 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001214/0.2698, allocations: 212.9 kB / 382.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/1.95, allocations: 5.062 kB / 382.2 MB, free: 15.7 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