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.001779/0.00178, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 64.39 kB / 307.1 MB, free: 492 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0852/0.08671, allocations: 50.54 MB / 357.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003328/0.09007, allocations: 2.87 MB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009503/0.09103, allocations: 0.7518 MB / 361.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.712e-05/0.09114, allocations: 4 kB / 361.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.09128, allocations: 43.56 kB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.09144, allocations: 95.19 kB / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.09167, allocations: 115.8 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.09199, allocations: 394.5 kB / 361.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.09217, allocations: 123.2 kB / 362 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.09238, allocations: 159.4 kB / 362.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.09255, allocations: 171.2 kB / 362.3 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.237e-05/0.09261, allocations: 40 kB / 362.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.649e-05/0.09266, allocations: 36 kB / 362.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.09272, allocations: 67.83 kB / 362.4 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.09285, allocations: 171.2 kB / 362.6 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.09316, allocations: 426.8 kB / 363 MB, free: 8.496 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.09317, allocations: 0 / 363 MB, free: 8.496 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09317, allocations: 0 / 363 MB, free: 8.496 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.09318, allocations: 0 / 363 MB, free: 8.496 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.001031/0.09422, allocations: 0.6575 MB / 363.7 MB, free: 7.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.09425, allocations: 12.03 kB / 363.7 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.186e-05/0.09431, allocations: 62.67 kB / 363.8 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.09438, allocations: 36.56 kB / 363.8 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.09465, allocations: 288.6 kB / 364.1 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.09467, allocations: 24.92 kB / 364.1 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.09472, allocations: 24.38 kB / 364.1 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.09531, allocations: 319.6 kB / 364.4 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.09532, allocations: 4 kB / 364.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.09535, allocations: 8 kB / 364.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.09536, allocations: 4 kB / 364.5 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006923/0.09606, allocations: 274.1 kB / 364.7 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.09755, allocations: 1.119 MB / 365.8 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/0.09831, allocations: 254.5 kB / 366.1 MB, free: 5.227 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.09862, allocations: 104.8 kB / 366.2 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.09865, allocations: 4 kB / 366.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003976/0.09905, allocations: 161 kB / 366.4 MB, free: 4.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.143e-06/0.09906, allocations: 0 / 366.4 MB, free: 4.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009228/0.09999, allocations: 329.1 kB / 366.7 MB, free: 4.613 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.1, allocations: 81.11 kB / 366.8 MB, free: 4.516 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.1003, allocations: 266.6 kB / 367 MB, free: 4.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1003, allocations: 25.7 kB / 367 MB, free: 4.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1004, allocations: 199.5 kB / 367.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.1004, allocations: 31.55 kB / 367.3 MB, free: 3.984 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.445e-05/0.1005, allocations: 49.61 kB / 367.3 MB, free: 3.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.1006, allocations: 334.8 kB / 367.6 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.101, allocations: 104.2 kB / 367.7 MB, free: 3.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.1013, allocations: 188.6 kB / 367.9 MB, free: 3.266 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006377/0.102, allocations: 303.7 kB / 368.2 MB, free: 2.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.102, allocations: 4 kB / 368.2 MB, free: 2.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007776/0.1028, allocations: 361.4 kB / 368.6 MB, free: 2.559 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.1028, allocations: 45.02 kB / 368.6 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1028, allocations: 0 / 368.6 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1028, allocations: 4 kB / 368.6 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.1031, allocations: 63.89 kB / 368.7 MB, free: 2.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1031, allocations: 7.984 kB / 368.7 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.1033, allocations: 47.75 kB / 368.7 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1034, allocations: 12 kB / 368.8 MB, free: 2.379 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.000114/0.1035, allocations: 149.7 kB / 368.9 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.1035, allocations: 31.64 kB / 368.9 MB, free: 2.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.1036, allocations: 21.72 kB / 369 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1036, allocations: 4 kB / 369 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1036, allocations: 0 / 369 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1036, allocations: 7.922 kB / 369 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.1038, allocations: 305.5 kB / 369.3 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1038, allocations: 0 / 369.3 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.1041, allocations: 51.89 kB / 369.3 MB, free: 1.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1041, allocations: 0 / 369.3 MB, free: 1.758 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1041, allocations: 7.938 kB / 369.3 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1041, allocations: 0 / 369.3 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1041, allocations: 0 / 369.3 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009351/0.105, allocations: 372.9 kB / 369.7 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.1051, allocations: 108.8 kB / 369.8 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.1051, allocations: 0 / 369.8 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.1054, allocations: 31.97 kB / 369.8 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.1054, allocations: 23.91 kB / 369.8 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.1054, allocations: 4 kB / 369.9 MB, free: 1.184 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1056, allocations: 189.9 kB / 370 MB, free: 1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1056, allocations: 0 / 370 MB, free: 1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1059, allocations: 71.84 kB / 370.1 MB, free: 0.9297 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.001182/0.1071, allocations: 0.9011 MB / 371 MB, free: 0 / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1158/0.2229, allocations: 295.1 kB / 371.3 MB, free: 20.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2229, allocations: 2.969 kB / 371.3 MB, free: 20.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.2233, allocations: 99.09 kB / 371.4 MB, free: 20.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.2236, allocations: 47.88 kB / 371.4 MB, free: 20.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.2273, allocations: 2.9 MB / 374.3 MB, free: 18.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.2275, allocations: 0.7502 MB / 375.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.2276, allocations: 30.42 kB / 375.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.2277, allocations: 80.08 kB / 375.2 MB, free: 18.22 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2277, allocations: 1.781 kB / 375.2 MB, free: 18.22 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.62/1.848, allocations: 5.443 MB / 380.6 MB, free: 17.63 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/9.455, allocations: 11.67 kB / 380.7 MB, free: 17.63 MB / 302.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