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.001115/0.001115, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 55.91 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2803, allocations: 50.55 MB / 408.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.005455/0.2858, allocations: 2.874 MB / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.2877, allocations: 0.7479 MB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003767/0.2881, allocations: 4 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.2884, allocations: 43.56 kB / 412.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.2889, allocations: 99.19 kB / 412.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005172/0.2894, allocations: 115.8 kB / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006251/0.29, allocations: 390.5 kB / 413.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000299/0.2904, allocations: 135.2 kB / 413.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004506/0.2908, allocations: 159.4 kB / 413.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.2911, allocations: 163.3 kB / 413.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.918e-05/0.2912, allocations: 40 kB / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.518e-05/0.2913, allocations: 36 kB / 413.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.237e-05/0.2914, allocations: 71.77 kB / 413.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.2916, allocations: 171.2 kB / 413.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.2921, allocations: 424.2 kB / 414.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.2921, allocations: 0 / 414.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.2921, allocations: 0 / 414.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.187e-05/0.2922, allocations: 0 / 414.2 MB, free: 12.04 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.001721/0.2939, allocations: 0.6614 MB / 414.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.2939, allocations: 12.03 kB / 414.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.2941, allocations: 62.67 kB / 415 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.2942, allocations: 32.56 kB / 415 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.2947, allocations: 292.7 kB / 415.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.2948, allocations: 20.94 kB / 415.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.2948, allocations: 24.38 kB / 415.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006969/0.2955, allocations: 319.7 kB / 415.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2956, allocations: 0 / 415.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/0.2956, allocations: 12 kB / 415.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.2956, allocations: 4 kB / 415.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007418/0.2964, allocations: 278 kB / 415.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.2982, allocations: 1.107 MB / 417 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008247/0.2991, allocations: 246.5 kB / 417.3 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.2994, allocations: 104.8 kB / 417.4 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.2994, allocations: 4 kB / 417.4 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004379/0.2998, allocations: 169 kB / 417.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.2999, allocations: 0 / 417.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009856/0.3008, allocations: 313.2 kB / 417.8 MB, free: 8.184 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.3009, allocations: 81.11 kB / 417.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.3012, allocations: 278.4 kB / 418.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.3012, allocations: 25.7 kB / 418.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.3014, allocations: 199.5 kB / 418.4 MB, free: 7.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.3014, allocations: 39.45 kB / 418.5 MB, free: 7.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.348e-05/0.3015, allocations: 49.61 kB / 418.5 MB, free: 7.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3016, allocations: 338.8 kB / 418.8 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.302, allocations: 96.16 kB / 418.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.3023, allocations: 203.5 kB / 419.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006383/0.303, allocations: 299.7 kB / 419.4 MB, free: 6.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.303, allocations: 4 kB / 419.4 MB, free: 6.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008311/0.3038, allocations: 362.4 kB / 419.8 MB, free: 6.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.3039, allocations: 35.89 kB / 419.8 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3039, allocations: 0 / 419.8 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3039, allocations: 4 kB / 419.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.3042, allocations: 71.88 kB / 419.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3042, allocations: 4 kB / 419.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.3045, allocations: 55.72 kB / 419.9 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.3046, allocations: 23.92 kB / 420 MB, free: 5.906 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.0001334/0.3047, allocations: 137.8 kB / 420.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.3047, allocations: 23.72 kB / 420.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.762e-05/0.3048, allocations: 25.7 kB / 420.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3048, allocations: 7.984 kB / 420.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3048, allocations: 4 kB / 420.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3048, allocations: 3.938 kB / 420.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.3051, allocations: 309.4 kB / 420.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3051, allocations: 3.938 kB / 420.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.3054, allocations: 51.89 kB / 420.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3054, allocations: 0 / 420.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.3054, allocations: 0 / 420.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3054, allocations: 3.984 kB / 420.5 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3054, allocations: 4 kB / 420.5 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009598/0.3064, allocations: 372.9 kB / 420.9 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-05/0.3065, allocations: 100.8 kB / 421 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.3065, allocations: 8 kB / 421 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.3067, allocations: 27.95 kB / 421 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.3068, allocations: 19.98 kB / 421 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.3068, allocations: 4 kB / 421.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.307, allocations: 194 kB / 421.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.307, allocations: 3.938 kB / 421.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004115/0.3074, allocations: 63.84 kB / 421.3 MB, free: 4.465 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.001237/0.3087, allocations: 0.8973 MB / 422.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007258/0.3094, allocations: 295.5 kB / 422.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3094, allocations: 8.125 kB / 422.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.3097, allocations: 99.92 kB / 422.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.31, allocations: 44.48 kB / 422.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.3142, allocations: 2.885 MB / 425.5 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.3145, allocations: 0.7557 MB / 426.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.3146, allocations: 26.3 kB / 426.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.3148, allocations: 79.41 kB / 426.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3148, allocations: 0 / 426.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.337, allocations: 5.634 MB / 432 MB, free: 9.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.895, allocations: 11.61 kB / 432 MB, free: 9.66 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