Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 107.7 kB / 16.62 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 185.8 kB / 17.55 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 51.53 kB / 300.3 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1609, allocations: 49.44 MB / 349.7 MB, free: 4.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.007418/0.1685, allocations: 2.892 MB / 352.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.1706, allocations: 0.7207 MB / 353.3 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004677/0.1712, allocations: 4 kB / 353.3 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.1716, allocations: 31.7 kB / 353.3 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005304/0.1721, allocations: 87.38 kB / 353.4 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.1727, allocations: 95.94 kB / 353.5 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008169/0.1736, allocations: 398.5 kB / 353.9 MB, free: 428 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004251/0.174, allocations: 123.2 kB / 354 MB, free: 304 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000539/0.1746, allocations: 147.5 kB / 354.2 MB, free: 156 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004045/0.175, allocations: 159.4 kB / 354.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.989e-05/0.1751, allocations: 40 kB / 354.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.975e-05/0.1752, allocations: 40 kB / 354.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1753, allocations: 79.62 kB / 354.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.1755, allocations: 167.2 kB / 354.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006075/0.1762, allocations: 418.9 kB / 355.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.1762, allocations: 0 / 355.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1762, allocations: 0 / 355.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.1762, allocations: 0 / 355.1 MB, free: 15.27 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.001701/0.1779, allocations: 0.6575 MB / 355.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.892e-05/0.178, allocations: 12.03 kB / 355.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.615e-05/0.1781, allocations: 58.72 kB / 355.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.683e-05/0.1782, allocations: 36.56 kB / 355.8 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.1787, allocations: 296.5 kB / 356.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.1787, allocations: 24.88 kB / 356.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.1788, allocations: 24.38 kB / 356.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008484/0.1797, allocations: 315.8 kB / 356.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.1797, allocations: 0 / 356.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.1797, allocations: 12 kB / 356.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.1798, allocations: 4 kB / 356.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008222/0.1806, allocations: 278 kB / 356.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.1827, allocations: 1.119 MB / 357.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009523/0.1836, allocations: 242.6 kB / 358.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.184, allocations: 100.8 kB / 358.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.184, allocations: 7.938 kB / 358.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007042/0.1848, allocations: 171.1 kB / 358.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.154e-06/0.1848, allocations: 0 / 358.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.00124/0.186, allocations: 317.1 kB / 358.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.1862, allocations: 89.03 kB / 358.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.1866, allocations: 270.6 kB / 359 MB, free: 11.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.1866, allocations: 25.7 kB / 359.1 MB, free: 11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.1868, allocations: 199.5 kB / 359.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.311e-05/0.1869, allocations: 31.55 kB / 359.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.1871, allocations: 53.55 kB / 359.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.1873, allocations: 338.8 kB / 359.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.1877, allocations: 104.2 kB / 359.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/0.1881, allocations: 191.5 kB / 360 MB, free: 10.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008078/0.189, allocations: 299.7 kB / 360.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.189, allocations: 4 kB / 360.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009892/0.19, allocations: 358.6 kB / 360.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.541e-05/0.1901, allocations: 37.7 kB / 360.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.1901, allocations: 0 / 360.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.1901, allocations: 4.344 kB / 360.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.1904, allocations: 67.89 kB / 360.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.1905, allocations: 7.984 kB / 360.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.1908, allocations: 47.75 kB / 360.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/0.1909, allocations: 12 kB / 360.8 MB, free: 9.152 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.0002534/0.1912, allocations: 153.7 kB / 360.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.1912, allocations: 23.72 kB / 361 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.717e-05/0.1913, allocations: 25.7 kB / 361 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.1913, allocations: 4 kB / 361 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.1913, allocations: 0 / 361 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1914, allocations: 3.938 kB / 361 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.1918, allocations: 309.5 kB / 361.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1918, allocations: 0 / 361.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.1921, allocations: 55.89 kB / 361.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1921, allocations: 0 / 361.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.1921, allocations: 0 / 361.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1921, allocations: 3.938 kB / 361.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.1921, allocations: 3.938 kB / 361.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.1933, allocations: 368.6 kB / 361.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.1934, allocations: 100.8 kB / 361.8 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.1935, allocations: 7.984 kB / 361.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.1938, allocations: 32.03 kB / 361.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.1939, allocations: 19.92 kB / 361.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1939, allocations: 0 / 361.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002822/0.1942, allocations: 194 kB / 362.1 MB, free: 7.773 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.12e-07/0.1942, allocations: 0 / 362.1 MB, free: 7.773 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003857/0.1946, allocations: 63.84 kB / 362.1 MB, free: 7.711 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.001726/0.1963, allocations: 0.9161 MB / 363 MB, free: 6.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009505/0.1973, allocations: 295.3 kB / 363.3 MB, free: 6.469 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1973, allocations: 7.875 kB / 363.3 MB, free: 6.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.1977, allocations: 99.92 kB / 363.4 MB, free: 6.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.1981, allocations: 53.03 kB / 363.5 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005952/0.2041, allocations: 2.988 MB / 366.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.2047, allocations: 0.7518 MB / 367.2 MB, free: 2.391 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.2049, allocations: 30.28 kB / 367.3 MB, free: 2.363 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.2051, allocations: 79.41 kB / 367.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2051, allocations: 0 / 367.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2906/0.4957, allocations: 5.243 MB / 372.6 MB, free: 25.87 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.496, allocations: 208 kB / 372.8 MB, free: 25.62 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/2.637, allocations: 1.344 kB / 372.8 MB, free: 25.62 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_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