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.002753/0.002752, allocations: 115.1 kB / 17.06 MB, free: 5.965 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.003673/0.003673, allocations: 198.9 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.731/2.731, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 48.06 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7117/0.7139, allocations: 49.44 MB / 400.3 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.008126/0.7222, allocations: 2.859 MB / 403.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.7249, allocations: 0.7167 MB / 403.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.7252, allocations: 4 kB / 403.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.7257, allocations: 47.56 kB / 403.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.726, allocations: 99.19 kB / 404 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005565/0.7266, allocations: 111.8 kB / 404.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007622/0.7274, allocations: 394.5 kB / 404.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000447/0.7278, allocations: 119.2 kB / 404.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003647/0.7282, allocations: 159.4 kB / 404.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.7286, allocations: 155.4 kB / 404.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.7288, allocations: 43.94 kB / 404.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.7289, allocations: 36 kB / 405 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.7291, allocations: 75.75 kB / 405.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003964/0.7295, allocations: 171.2 kB / 405.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.7307, allocations: 420.3 kB / 405.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.7307, allocations: 0 / 405.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.7307, allocations: 0 / 405.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.7307, allocations: 0 / 405.6 MB, free: 3.434 MB / 318.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.002624/0.7334, allocations: 0.6575 MB / 406.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.759e-05/0.7335, allocations: 8.031 kB / 406.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.7336, allocations: 74.59 kB / 406.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.7338, allocations: 36.56 kB / 406.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008625/0.7346, allocations: 288.7 kB / 406.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/0.7347, allocations: 20.94 kB / 406.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-05/0.7348, allocations: 20.38 kB / 406.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.736, allocations: 323.7 kB / 407 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.7361, allocations: 0 / 407 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.7361, allocations: 12 kB / 407.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.7362, allocations: 8 kB / 407.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.7374, allocations: 274.1 kB / 407.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/0.7403, allocations: 1.107 MB / 408.4 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.7417, allocations: 250.5 kB / 408.7 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/0.7421, allocations: 108.8 kB / 408.8 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.7422, allocations: 0 / 408.8 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007411/0.7429, allocations: 171.8 kB / 409 MB, free: 15.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 6.532e-06/0.743, allocations: 3.984 kB / 409 MB, free: 15.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001578/0.7446, allocations: 313.5 kB / 409.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.7447, allocations: 85.02 kB / 409.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/0.7453, allocations: 270.4 kB / 409.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/0.7453, allocations: 33.7 kB / 409.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.7456, allocations: 187.6 kB / 409.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/0.7457, allocations: 39.45 kB / 409.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.7458, allocations: 53.7 kB / 409.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003132/0.7462, allocations: 330.8 kB / 410.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005725/0.7468, allocations: 104.2 kB / 410.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.7474, allocations: 192.2 kB / 410.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.7486, allocations: 303.7 kB / 410.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.7486, allocations: 0 / 410.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001549/0.7502, allocations: 366.9 kB / 411.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.7503, allocations: 33.7 kB / 411.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.7504, allocations: 4 kB / 411.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.519e-05/0.7504, allocations: 4 kB / 411.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.7509, allocations: 71.88 kB / 411.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.751, allocations: 4 kB / 411.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/0.7515, allocations: 55.72 kB / 411.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.7516, allocations: 8 kB / 411.4 MB, free: 13.32 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.0003325/0.7519, allocations: 153.1 kB / 411.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.752, allocations: 19.72 kB / 411.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.7521, allocations: 21.72 kB / 411.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.7521, allocations: 0 / 411.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.7521, allocations: 3.984 kB / 411.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.7522, allocations: 11.88 kB / 411.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.7528, allocations: 317.3 kB / 411.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.7529, allocations: 0 / 411.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.7532, allocations: 47.89 kB / 411.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.7533, allocations: 0 / 411.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.7533, allocations: 8 kB / 411.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.7533, allocations: 4 kB / 411.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7533, allocations: 0 / 411.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.7551, allocations: 372.6 kB / 412.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.7553, allocations: 96.94 kB / 412.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.009e-05/0.7553, allocations: 4 kB / 412.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.7557, allocations: 27.97 kB / 412.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.7558, allocations: 27.84 kB / 412.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.7559, allocations: 7.938 kB / 412.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000339/0.7562, allocations: 190 kB / 412.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7562, allocations: 0 / 412.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.004626/0.7609, allocations: 67.75 kB / 412.7 MB, free: 11.87 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.00236/0.7633, allocations: 0.8895 MB / 413.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.7646, allocations: 303 kB / 413.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.7646, allocations: 0.6875 kB / 413.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.7651, allocations: 103.9 kB / 414 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.7658, allocations: 47.56 kB / 414.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00769/0.7735, allocations: 2.893 MB / 416.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006639/0.7742, allocations: 0.748 MB / 417.7 MB, free: 6.668 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002105/0.7744, allocations: 26.27 kB / 417.7 MB, free: 6.645 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.7747, allocations: 87.41 kB / 417.8 MB, free: 6.559 MB / 334.1 MB Notification: Performance of SimCode: time 1.954e-06/0.7747, allocations: 0 / 417.8 MB, free: 6.559 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/0.8854, allocations: 5.609 MB / 423.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.18/17.07, allocations: 3.984 kB / 423.4 MB, free: 1.078 MB / 334.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