Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 59.91 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.322, allocations: 50.54 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003789/0.3258, allocations: 2.889 MB / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3272, allocations: 0.7441 MB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.3275, allocations: 7.938 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.3277, allocations: 43.56 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.328, allocations: 103.2 kB / 412.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.3283, allocations: 115.8 kB / 412.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004827/0.3288, allocations: 390.5 kB / 413.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.329, allocations: 127.2 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003077/0.3293, allocations: 159.4 kB / 413.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.3296, allocations: 163.3 kB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.3296, allocations: 40 kB / 413.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.618e-05/0.3297, allocations: 40 kB / 413.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.3298, allocations: 75.75 kB / 413.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.3299, allocations: 163.2 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.3303, allocations: 432.2 kB / 414.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3303, allocations: 0 / 414.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3303, allocations: 0 / 414.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.3303, 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.001252/0.3316, allocations: 0.6604 MB / 414.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3317, allocations: 8.031 kB / 414.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.792e-05/0.3317, allocations: 62.72 kB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.3318, allocations: 32.56 kB / 415 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.3322, allocations: 292.7 kB / 415.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.3323, allocations: 20.94 kB / 415.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.3323, allocations: 20.38 kB / 415.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006787/0.333, allocations: 311.8 kB / 415.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.333, allocations: 0 / 415.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.3331, allocations: 23.92 kB / 415.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3331, allocations: 7.938 kB / 415.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007845/0.3339, allocations: 274.1 kB / 415.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.3359, allocations: 1.173 MB / 417.1 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008907/0.3368, allocations: 242.6 kB / 417.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.3371, allocations: 108.7 kB / 417.4 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.3372, allocations: 4 kB / 417.4 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/0.3376, allocations: 161 kB / 417.6 MB, free: 8.438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.3377, allocations: 4 kB / 417.6 MB, free: 8.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002114/0.3398, allocations: 0.5965 MB / 418.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.3398, allocations: 85.11 kB / 418.3 MB, free: 7.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.3401, allocations: 266.5 kB / 418.5 MB, free: 7.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.3402, allocations: 33.7 kB / 418.6 MB, free: 7.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.3403, allocations: 191.6 kB / 418.8 MB, free: 7.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.3404, allocations: 43.44 kB / 418.8 MB, free: 7.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.244e-05/0.3405, allocations: 49.61 kB / 418.9 MB, free: 7.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3406, allocations: 334.8 kB / 419.2 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.341, allocations: 104.2 kB / 419.3 MB, free: 6.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.3414, allocations: 191.5 kB / 419.5 MB, free: 6.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.3421, allocations: 303.7 kB / 419.8 MB, free: 6.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3421, allocations: 0 / 419.8 MB, free: 6.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001188/0.3433, allocations: 439.8 kB / 420.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.032e-05/0.3433, allocations: 41.62 kB / 420.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.3433, allocations: 4 kB / 420.2 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003665/0.3437, allocations: 68.88 kB / 420.3 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.344, allocations: 47.91 kB / 420.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.3462, allocations: 1.64 MB / 422 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.3465, allocations: 47.72 kB / 422 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.3465, allocations: 15.92 kB / 422.1 MB, free: 3.648 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.3467, allocations: 157.6 kB / 422.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.3467, allocations: 19.88 kB / 422.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.3468, allocations: 25.7 kB / 422.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3468, allocations: 4 kB / 422.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3468, allocations: 0 / 422.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3468, allocations: 3.938 kB / 422.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.3471, allocations: 317.3 kB / 422.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3471, allocations: 0 / 422.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.3473, allocations: 27.97 kB / 422.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.3476, allocations: 64.81 kB / 422.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.3476, allocations: 7.984 kB / 422.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.3498, allocations: 1.621 MB / 424.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3498, allocations: 0 / 424.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.3511, allocations: 465.3 kB / 424.7 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.3512, allocations: 100.8 kB / 424.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.3512, allocations: 4.062 kB / 424.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.3515, allocations: 35.95 kB / 424.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.3515, allocations: 15.97 kB / 424.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.3516, allocations: 4 kB / 424.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.3517, allocations: 194 kB / 425.1 MB, free: 384 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3517, allocations: 0 / 425.1 MB, free: 384 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.3521, allocations: 67.84 kB / 425.2 MB, free: 316 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001621/0.3537, allocations: 0.9871 MB / 426.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000941/0.3547, allocations: 413.5 kB / 426.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3547, allocations: 0 / 426.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.3551, allocations: 227 kB / 426.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.3554, allocations: 50.7 kB / 426.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007489/0.3629, allocations: 3.382 MB / 430.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3633, allocations: 0.7557 MB / 431 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.3634, allocations: 26.23 kB / 431 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.3636, allocations: 79.41 kB / 431.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3636, allocations: 4 kB / 431.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.39, allocations: 6.43 MB / 437.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.36, allocations: 4 kB / 437.5 MB, free: 3.883 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,integrator.c.v,integrator.opAmp.out.v,integrator.opAmp.out.i Variables in the result:Vin,der(integrator.c.v),f,ground.p.i,ground.p.v,integrator.C,integrator.R,integrator.V0,integrator.Vns,integrator.Vps,integrator.c.C,integrator.c.i,integrator.c.n.i,integrator.c.n.v,integrator.c.p.i,integrator.c.p.v,integrator.c.v,integrator.f,integrator.i1,integrator.i2,integrator.k,integrator.n1.i,integrator.n1.v,integrator.n2.i,integrator.n2.v,integrator.opAmp.V0,integrator.opAmp.Vns,integrator.opAmp.Vps,integrator.opAmp.homotopyType,integrator.opAmp.i_s,integrator.opAmp.in_n.i,integrator.opAmp.in_n.v,integrator.opAmp.in_p.i,integrator.opAmp.in_p.v,integrator.opAmp.out.i,integrator.opAmp.out.v,integrator.opAmp.p_in,integrator.opAmp.p_out,integrator.opAmp.p_s,integrator.opAmp.strict,integrator.opAmp.useSupply,integrator.opAmp.v_in,integrator.opAmp.v_out,integrator.opAmp.vns,integrator.opAmp.vps,integrator.p1.i,integrator.p1.v,integrator.p2.i,integrator.p2.v,integrator.r.LossPower,integrator.r.R,integrator.r.R_actual,integrator.r.T,integrator.r.T_heatPort,integrator.r.T_ref,integrator.r.alpha,integrator.r.i,integrator.r.n.i,integrator.r.n.v,integrator.r.p.i,integrator.r.p.v,integrator.r.useHeatPort,integrator.r.v,integrator.v,integrator.v1,integrator.v2,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