Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001568/0.001568, allocations: 191.8 kB / 17.37 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.197/1.197, allocations: 226.5 MB / 244.7 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000839/0.000839, allocations: 92.56 kB / 296.7 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001924/0.0001925, allocations: 8 kB / 356.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1866, allocations: 51.29 MB / 408.1 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.001992/0.1887, allocations: 2.454 MB / 410.6 MB, free: 25.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007764/0.1895, allocations: 0.7092 MB / 411.3 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1896, allocations: 6.375 kB / 411.3 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.1897, allocations: 35.69 kB / 411.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.1899, allocations: 71.45 kB / 411.4 MB, free: 24.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.1901, allocations: 76.5 kB / 411.5 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.1903, allocations: 351 kB / 411.8 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.1905, allocations: 106.2 kB / 411.9 MB, free: 23.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.1907, allocations: 127.5 kB / 412.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1909, allocations: 143.4 kB / 412.2 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.1909, allocations: 16 kB / 412.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.68e-05/0.1909, allocations: 16 kB / 412.2 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.191, allocations: 51.77 kB / 412.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1911, allocations: 161 kB / 412.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.1913, allocations: 328.2 kB / 412.8 MB, free: 23.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1913, allocations: 11.88 kB / 412.8 MB, free: 23.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1913, allocations: 0 / 412.8 MB, free: 23.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1913, allocations: 4 kB / 412.8 MB, free: 23.07 MB / 298.7 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.0009375/0.1923, allocations: 0.6226 MB / 413.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1923, allocations: 8.031 kB / 413.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.1924, allocations: 62.72 kB / 413.5 MB, free: 22.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.1924, allocations: 32.56 kB / 413.5 MB, free: 22.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.1927, allocations: 284.7 kB / 413.8 MB, free: 21.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1927, allocations: 16.94 kB / 413.8 MB, free: 21.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.1927, allocations: 24.38 kB / 413.8 MB, free: 21.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.1933, allocations: 335.7 kB / 414.1 MB, free: 21.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1933, allocations: 4 kB / 414.1 MB, free: 21.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.1934, allocations: 8 kB / 414.2 MB, free: 21.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1934, allocations: 8 kB / 414.2 MB, free: 21.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006858/0.1941, allocations: 294.1 kB / 414.5 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.1954, allocations: 1.143 MB / 415.6 MB, free: 20.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007611/0.1962, allocations: 278.5 kB / 415.9 MB, free: 19.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.1965, allocations: 120.8 kB / 416 MB, free: 19.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1965, allocations: 0 / 416 MB, free: 19.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003972/0.1969, allocations: 191.5 kB / 416.2 MB, free: 19.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.197, allocations: 0 / 416.2 MB, free: 19.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009191/0.1979, allocations: 353.1 kB / 416.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.1979, allocations: 93.03 kB / 416.6 MB, free: 19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1981, allocations: 262.5 kB / 416.9 MB, free: 18.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1981, allocations: 29.7 kB / 416.9 MB, free: 18.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.1982, allocations: 195.5 kB / 417.1 MB, free: 18.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.1982, allocations: 47.39 kB / 417.1 MB, free: 18.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.1983, allocations: 4 kB / 417.1 MB, free: 18.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.243e-05/0.1983, allocations: 334.8 kB / 417.5 MB, free: 18.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.1986, allocations: 116.2 kB / 417.6 MB, free: 17.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.1989, allocations: 207.4 kB / 417.8 MB, free: 17.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.1995, allocations: 327.8 kB / 418.1 MB, free: 17.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1996, allocations: 0 / 418.1 MB, free: 17.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007276/0.2003, allocations: 387.9 kB / 418.5 MB, free: 17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2003, allocations: 37.69 kB / 418.5 MB, free: 16.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2003, allocations: 0 / 418.5 MB, free: 16.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2003, allocations: 8 kB / 418.5 MB, free: 16.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.2006, allocations: 79.95 kB / 418.6 MB, free: 16.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2006, allocations: 7.938 kB / 418.6 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.2009, allocations: 67.64 kB / 418.7 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.2009, allocations: 11.94 kB / 418.7 MB, free: 16.78 MB / 298.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.533e-05/0.201, allocations: 146.6 kB / 418.8 MB, free: 16.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.201, allocations: 19.72 kB / 418.8 MB, free: 16.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.2011, allocations: 29.69 kB / 418.9 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2011, allocations: 0 / 418.9 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2011, allocations: 0 / 418.9 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2011, allocations: 3.938 kB / 418.9 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.2013, allocations: 313.4 kB / 419.2 MB, free: 16.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2013, allocations: 4 kB / 419.2 MB, free: 16.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.2015, allocations: 51.95 kB / 419.2 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2015, allocations: 0 / 419.2 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2016, allocations: 3.984 kB / 419.2 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2016, allocations: 3.984 kB / 419.2 MB, free: 16.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2016, allocations: 7.938 kB / 419.3 MB, free: 16.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009107/0.2025, allocations: 416.5 kB / 419.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.2025, allocations: 96.81 kB / 419.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.2026, allocations: 4 kB / 419.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.2028, allocations: 40.02 kB / 419.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.2029, allocations: 19.92 kB / 419.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.2029, allocations: 7.984 kB / 419.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.203, allocations: 186 kB / 420 MB, free: 15.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.203, allocations: 4 kB / 420 MB, free: 15.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.2033, allocations: 59.84 kB / 420.1 MB, free: 15.29 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/0.2043, allocations: 0.9522 MB / 421 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006577/0.205, allocations: 327.2 kB / 421.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.205, allocations: 0 / 421.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.2053, allocations: 120.4 kB / 421.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.2056, allocations: 46.83 kB / 421.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.208, allocations: 1.739 MB / 423.2 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.2081, allocations: 0.748 MB / 424 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.2083, allocations: 79.41 kB / 424.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2083, allocations: 0 / 424.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.617/2.825, allocations: 3.952 MB / 428 MB, free: 7.191 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_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.simplifiedExpr,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.T_falling,vIn.signalSource.T_rising,vIn.signalSource.T_start,vIn.signalSource.T_width,vIn.signalSource.amplitude,vIn.signalSource.count,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