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.001148/0.001148, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 201.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3355, allocations: 50.55 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003798/0.3394, allocations: 2.87 MB / 411.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3406, allocations: 0.7518 MB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.3407, allocations: 4 kB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.3409, allocations: 43.58 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.3411, allocations: 99.17 kB / 412.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.3414, allocations: 111.8 kB / 412.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004111/0.3418, allocations: 402.5 kB / 413.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.3421, allocations: 119.2 kB / 413.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002978/0.3424, allocations: 155.4 kB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.3426, allocations: 167.3 kB / 413.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.3426, allocations: 44 kB / 413.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.923e-05/0.3427, allocations: 36 kB / 413.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.3427, allocations: 75.75 kB / 413.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.3429, allocations: 163.2 kB / 413.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.3433, allocations: 428.2 kB / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3433, allocations: 0 / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3433, allocations: 0 / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.3433, allocations: 0 / 414.2 MB, free: 12.05 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.001257/0.3446, allocations: 0.6653 MB / 414.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3446, allocations: 8.031 kB / 414.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.363e-05/0.3447, allocations: 62.72 kB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.3448, allocations: 36.5 kB / 415 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.3452, allocations: 288.7 kB / 415.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.3453, allocations: 20.94 kB / 415.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.3453, allocations: 28.36 kB / 415.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007155/0.346, allocations: 315.8 kB / 415.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3461, allocations: 7.938 kB / 415.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.3461, allocations: 8 kB / 415.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.3461, allocations: 4 kB / 415.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008144/0.3469, allocations: 274.1 kB / 415.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.3487, allocations: 1.115 MB / 417 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008734/0.3496, allocations: 246.5 kB / 417.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.35, allocations: 104.8 kB / 417.4 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.35, allocations: 4 kB / 417.4 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004611/0.3505, allocations: 165 kB / 417.5 MB, free: 8.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.3505, allocations: 4 kB / 417.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001056/0.3515, allocations: 313.2 kB / 417.8 MB, free: 8.191 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.3516, allocations: 77.11 kB / 417.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.3519, allocations: 282.4 kB / 418.2 MB, free: 7.816 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.3519, allocations: 25.7 kB / 418.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3521, allocations: 195.5 kB / 418.4 MB, free: 7.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.3521, allocations: 39.45 kB / 418.5 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.216e-05/0.3522, allocations: 49.61 kB / 418.5 MB, free: 7.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3524, allocations: 338.8 kB / 418.8 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.3527, allocations: 100.2 kB / 418.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003962/0.3531, allocations: 195.5 kB / 419.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.3538, allocations: 303.7 kB / 419.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3539, allocations: 0 / 419.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009007/0.3548, allocations: 358.2 kB / 419.8 MB, free: 6.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/0.3548, allocations: 47.94 kB / 419.8 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3548, allocations: 0 / 419.8 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3549, allocations: 4 kB / 419.8 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.3552, allocations: 63.89 kB / 419.9 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3552, allocations: 4 kB / 419.9 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.3555, allocations: 59.64 kB / 419.9 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.3555, allocations: 12 kB / 420 MB, free: 5.93 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.0001522/0.3557, allocations: 145.7 kB / 420.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.3557, allocations: 23.72 kB / 420.1 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.522e-05/0.3558, allocations: 25.7 kB / 420.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3558, allocations: 4 kB / 420.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3558, allocations: 0 / 420.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3558, allocations: 3.938 kB / 420.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.3561, allocations: 313.4 kB / 420.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3562, allocations: 11.94 kB / 420.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.3564, allocations: 47.89 kB / 420.5 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.3564, allocations: 4 kB / 420.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.3564, allocations: 0 / 420.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3565, allocations: 0 / 420.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3565, allocations: 3.984 kB / 420.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.3575, allocations: 377 kB / 420.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.3576, allocations: 96.83 kB / 421 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.3577, allocations: 7.969 kB / 421 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.3579, allocations: 31.97 kB / 421 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.358, allocations: 15.92 kB / 421 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.358, allocations: 7.984 kB / 421.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.3582, allocations: 190 kB / 421.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.492e-06/0.3582, allocations: 64 / 421.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.3585, allocations: 71.78 kB / 421.3 MB, free: 4.477 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.001364/0.3599, allocations: 0.8933 MB / 422.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007886/0.3607, allocations: 303 kB / 422.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3607, allocations: 0 / 422.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.361, allocations: 108.6 kB / 422.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.3614, allocations: 40.47 kB / 422.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004558/0.3659, allocations: 2.893 MB / 425.5 MB, free: 56 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.3664, allocations: 0.7479 MB / 426.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.3665, allocations: 30.28 kB / 426.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.3666, allocations: 79.41 kB / 426.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3666, allocations: 4 kB / 426.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.3927, allocations: 5.624 MB / 432 MB, free: 9.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.913, allocations: 8.062 kB / 432 MB, free: 9.672 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.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