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.001507/0.001507, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001825/0.001825, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 67.88 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2571, allocations: 50.54 MB / 408.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004635/0.2617, allocations: 2.885 MB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.2633, allocations: 0.744 MB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.2635, allocations: 4 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.2636, allocations: 43.58 kB / 412.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.2639, allocations: 95.19 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.2642, allocations: 119.8 kB / 412.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.2646, allocations: 398.5 kB / 413.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.2648, allocations: 123.3 kB / 413.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.2652, allocations: 155.4 kB / 413.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.2654, allocations: 167.3 kB / 413.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.577e-05/0.2655, allocations: 36 kB / 413.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.355e-05/0.2655, allocations: 40 kB / 413.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.61e-05/0.2656, allocations: 71.75 kB / 413.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.2658, allocations: 167.2 kB / 413.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.2663, allocations: 429.3 kB / 414.3 MB, free: 12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2663, allocations: 0 / 414.3 MB, free: 12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2663, allocations: 0 / 414.3 MB, free: 12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.2664, allocations: 0 / 414.3 MB, free: 12 MB / 334.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.001302/0.2677, allocations: 0.6651 MB / 415 MB, free: 11.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2677, allocations: 16.03 kB / 415 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.515e-05/0.2678, allocations: 58.72 kB / 415 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.2679, allocations: 32.75 kB / 415.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.2683, allocations: 296.7 kB / 415.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.2683, allocations: 16.94 kB / 415.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.2684, allocations: 24.38 kB / 415.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006997/0.2691, allocations: 319.8 kB / 415.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.2691, allocations: 3.938 kB / 415.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-05/0.2692, allocations: 11.98 kB / 415.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.2692, allocations: 8 kB / 415.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007964/0.27, allocations: 274 kB / 416 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.2719, allocations: 1.116 MB / 417.1 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008799/0.2728, allocations: 246.5 kB / 417.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.2731, allocations: 104.8 kB / 417.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.2731, allocations: 4 kB / 417.5 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004741/0.2736, allocations: 169 kB / 417.6 MB, free: 8.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.2736, allocations: 0 / 417.6 MB, free: 8.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001062/0.2747, allocations: 313.2 kB / 417.9 MB, free: 8.133 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.2748, allocations: 81.11 kB / 418 MB, free: 8.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.2751, allocations: 270.6 kB / 418.3 MB, free: 7.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.2751, allocations: 33.7 kB / 418.3 MB, free: 7.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.2752, allocations: 195.9 kB / 418.5 MB, free: 7.527 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.2753, allocations: 51.62 kB / 418.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.2754, allocations: 49.7 kB / 418.6 MB, free: 7.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2756, allocations: 326.8 kB / 418.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.2759, allocations: 104.1 kB / 419 MB, free: 6.988 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.2763, allocations: 195.5 kB / 419.2 MB, free: 6.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007308/0.2771, allocations: 311.7 kB / 419.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2771, allocations: 0 / 419.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009079/0.278, allocations: 359.1 kB / 419.9 MB, free: 6.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.2781, allocations: 36.67 kB / 419.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2781, allocations: 7.984 kB / 419.9 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2781, allocations: 4 kB / 419.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.2784, allocations: 67.89 kB / 420 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.2784, allocations: 4 kB / 420 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.2787, allocations: 55.8 kB / 420 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.2787, allocations: 15.94 kB / 420.1 MB, free: 5.855 MB / 334.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.0001555/0.2789, allocations: 149.2 kB / 420.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.2789, allocations: 19.86 kB / 420.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.787e-05/0.279, allocations: 29.7 kB / 420.2 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.279, allocations: 0 / 420.2 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.279, allocations: 4 kB / 420.3 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.279, allocations: 3.938 kB / 420.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.2793, allocations: 305.5 kB / 420.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2793, allocations: 3.984 kB / 420.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.2796, allocations: 43.91 kB / 420.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2796, allocations: 0 / 420.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.2796, allocations: 3.984 kB / 420.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2796, allocations: 4 kB / 420.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2796, allocations: 4 kB / 420.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.2807, allocations: 377 kB / 421 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.746e-05/0.2808, allocations: 96.94 kB / 421.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.2809, allocations: 11.94 kB / 421.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.2811, allocations: 27.95 kB / 421.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.2812, allocations: 23.98 kB / 421.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.2812, allocations: 4 kB / 421.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002011/0.2814, allocations: 194 kB / 421.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2814, allocations: 0 / 421.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.2817, allocations: 63.84 kB / 421.4 MB, free: 4.418 MB / 334.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.001466/0.2832, allocations: 0.9012 MB / 422.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008436/0.284, allocations: 295.6 kB / 422.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2841, allocations: 8.062 kB / 422.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.2844, allocations: 95.92 kB / 422.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.2847, allocations: 56.44 kB / 422.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00473/0.2895, allocations: 2.889 MB / 425.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.2899, allocations: 0.7596 MB / 426.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.2901, allocations: 26.28 kB / 426.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.2902, allocations: 79.42 kB / 426.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.2902, allocations: 0 / 426.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.3187, allocations: 5.529 MB / 432 MB, free: 9.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.305, allocations: 12.06 kB / 432 MB, free: 9.691 MB / 350.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.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) "" 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