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.001315/0.001315, allocations: 112.6 kB / 17.06 MB, free: 6.016 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.001222/0.001222, allocations: 191.9 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 47.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2483, allocations: 49.44 MB / 400.3 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004696/0.253, allocations: 2.855 MB / 403.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2543, allocations: 0.7128 MB / 403.8 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.2545, allocations: 4 kB / 403.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.2547, allocations: 47.52 kB / 403.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.2549, allocations: 103.2 kB / 404 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.2553, allocations: 111.8 kB / 404.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.2558, allocations: 394.5 kB / 404.5 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.2561, allocations: 119.3 kB / 404.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.2563, allocations: 159.3 kB / 404.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.2565, allocations: 163.3 kB / 404.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.08e-05/0.2566, allocations: 40 kB / 405 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.398e-05/0.2567, allocations: 36 kB / 405 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.768e-05/0.2568, allocations: 75.75 kB / 405.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.257, allocations: 163.2 kB / 405.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.2575, allocations: 429.4 kB / 405.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2575, allocations: 0 / 405.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2575, allocations: 4 kB / 405.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.2575, allocations: 0 / 405.7 MB, free: 3.445 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.001395/0.2589, allocations: 0.6689 MB / 406.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.259, allocations: 15.83 kB / 406.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.187e-05/0.2591, allocations: 54.73 kB / 406.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.453e-05/0.2591, allocations: 36.7 kB / 406.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.2596, allocations: 296.8 kB / 406.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.2596, allocations: 20.94 kB / 406.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.2597, allocations: 24.38 kB / 406.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007223/0.2604, allocations: 319.7 kB / 407.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.2604, allocations: 0 / 407.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.2605, allocations: 12 kB / 407.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.2605, allocations: 4 kB / 407.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008637/0.2613, allocations: 278 kB / 407.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.2634, allocations: 1.112 MB / 408.5 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009451/0.2643, allocations: 250.5 kB / 408.7 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.2647, allocations: 104.8 kB / 408.8 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.2647, allocations: 4 kB / 408.8 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005123/0.2652, allocations: 173 kB / 409 MB, free: 15.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.2652, allocations: 0 / 409 MB, free: 15.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001132/0.2664, allocations: 309.6 kB / 409.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.2665, allocations: 89.09 kB / 409.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.2668, allocations: 262.5 kB / 409.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.2669, allocations: 33.7 kB / 409.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.2671, allocations: 199.9 kB / 409.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.2672, allocations: 43.67 kB / 409.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.266e-05/0.2673, allocations: 49.66 kB / 410 MB, free: 14.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.2675, allocations: 334.8 kB / 410.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.2679, allocations: 100.2 kB / 410.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/0.2685, allocations: 192.2 kB / 410.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007696/0.2693, allocations: 311.7 kB / 410.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2693, allocations: 0 / 410.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009374/0.2702, allocations: 362.2 kB / 411.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.2703, allocations: 37.69 kB / 411.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-05/0.2704, allocations: 4 kB / 411.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2704, allocations: 4 kB / 411.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.2707, allocations: 68.02 kB / 411.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2707, allocations: 8 kB / 411.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.271, allocations: 51.72 kB / 411.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.271, allocations: 12 kB / 411.4 MB, free: 13.3 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.0001633/0.2712, allocations: 141.8 kB / 411.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.2713, allocations: 23.86 kB / 411.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.804e-05/0.2713, allocations: 25.64 kB / 411.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.2713, allocations: 11.94 kB / 411.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2713, allocations: 0 / 411.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2714, allocations: 3.938 kB / 411.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.2717, allocations: 309.4 kB / 411.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2717, allocations: 3.984 kB / 411.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.272, allocations: 39.97 kB / 412 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.272, allocations: 0 / 412 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.272, allocations: 3.984 kB / 412 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.272, allocations: 8 kB / 412 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.272, allocations: 0 / 412 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.2732, allocations: 380.6 kB / 412.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.907e-05/0.2733, allocations: 96.94 kB / 412.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.2733, allocations: 8 kB / 412.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.2736, allocations: 27.95 kB / 412.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/0.2737, allocations: 23.98 kB / 412.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.2737, allocations: 8 kB / 412.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002357/0.2739, allocations: 190 kB / 412.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2739, allocations: 4 kB / 412.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002932/0.2742, allocations: 59.89 kB / 412.7 MB, free: 11.86 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.001553/0.2758, allocations: 0.9116 MB / 413.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008509/0.2767, allocations: 295.7 kB / 413.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2767, allocations: 0 / 413.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003566/0.277, allocations: 99.92 kB / 414 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.2774, allocations: 56.53 kB / 414.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005012/0.2824, allocations: 2.889 MB / 417 MB, free: 7.426 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.283, allocations: 0.7518 MB / 417.7 MB, free: 6.648 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.2831, allocations: 26.3 kB / 417.8 MB, free: 6.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.2833, allocations: 79.41 kB / 417.8 MB, free: 6.547 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2833, allocations: 0 / 417.8 MB, free: 6.547 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.3121, allocations: 5.521 MB / 423.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.331, allocations: 7.812 kB / 423.4 MB, free: 1.156 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