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.000869/0.000869, allocations: 97.02 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 199.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 227.7 MB / 246.8 MB, free: 11.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002267/0.0002271, allocations: 11.94 kB / 307.8 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07867/0.07891, allocations: 51.53 MB / 359.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002584/0.08153, allocations: 2.555 MB / 361.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.0827, allocations: 0.7325 MB / 362.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.08287, allocations: 8 kB / 362.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.083, allocations: 31.75 kB / 362.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.08319, allocations: 83.39 kB / 362.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.08345, allocations: 103.8 kB / 362.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.08379, allocations: 358.5 kB / 363.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.08399, allocations: 115.8 kB / 363.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.08422, allocations: 127.4 kB / 363.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.0844, allocations: 151.2 kB / 363.6 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.08445, allocations: 16 kB / 363.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.794e-05/0.08449, allocations: 16 kB / 363.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.08454, allocations: 51.77 kB / 363.7 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.08468, allocations: 168.9 kB / 363.9 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.08498, allocations: 398.7 kB / 364.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.08499, allocations: 0 / 364.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.085, allocations: 0 / 364.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.08501, allocations: 0 / 364.3 MB, free: 8.27 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.001032/0.08605, allocations: 0.6332 MB / 364.9 MB, free: 7.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.08609, allocations: 15.97 kB / 364.9 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.28e-05/0.08616, allocations: 62.72 kB / 365 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.08623, allocations: 32.56 kB / 365 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.08651, allocations: 288.6 kB / 365.3 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.08654, allocations: 24.88 kB / 365.3 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.08659, allocations: 28.38 kB / 365.3 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/0.08726, allocations: 331.8 kB / 365.7 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.08728, allocations: 4 kB / 365.7 MB, free: 6.754 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.08731, allocations: 8 kB / 365.7 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.08732, allocations: 8 kB / 365.7 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007812/0.08811, allocations: 298.1 kB / 366 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.08991, allocations: 1.216 MB / 367.2 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008373/0.09076, allocations: 278.5 kB / 367.5 MB, free: 4.859 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.09111, allocations: 116.8 kB / 367.6 MB, free: 4.742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.09113, allocations: 4 kB / 367.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004351/0.09157, allocations: 184.9 kB / 367.8 MB, free: 4.539 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.766e-06/0.09159, allocations: 3.984 kB / 367.8 MB, free: 4.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001984/0.09358, allocations: 0.663 MB / 368.4 MB, free: 3.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.09363, allocations: 85.09 kB / 368.5 MB, free: 3.742 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.09388, allocations: 262.5 kB / 368.8 MB, free: 3.473 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.09391, allocations: 29.7 kB / 368.8 MB, free: 3.438 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.09402, allocations: 199.5 kB / 369 MB, free: 3.238 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.09406, allocations: 39.44 kB / 369 MB, free: 3.199 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.09411, allocations: 29.7 kB / 369.1 MB, free: 3.164 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.0942, allocations: 326.8 kB / 369.4 MB, free: 2.836 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.09456, allocations: 128.1 kB / 369.5 MB, free: 2.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.09496, allocations: 200.6 kB / 369.7 MB, free: 2.473 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006903/0.09566, allocations: 334 kB / 370 MB, free: 2.105 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.09567, allocations: 4 kB / 370 MB, free: 2.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00117/0.09685, allocations: 487.8 kB / 370.5 MB, free: 1.609 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.09689, allocations: 41.64 kB / 370.5 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.0969, allocations: 0 / 370.5 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002724/0.09718, allocations: 68.81 kB / 370.6 MB, free: 1.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.09741, allocations: 63.89 kB / 370.7 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1341/0.2315, allocations: 1.541 MB / 372.2 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.2319, allocations: 59.02 kB / 372.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.2319, allocations: 14.56 kB / 372.3 MB, free: 18.58 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 (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.0001561/0.2321, allocations: 147.6 kB / 372.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.2321, allocations: 26.42 kB / 372.5 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.2322, allocations: 29.84 kB / 372.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2322, allocations: 1.312 kB / 372.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.2322, allocations: 5.219 kB / 372.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.2322, allocations: 2.109 kB / 372.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.2325, allocations: 306.1 kB / 372.8 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2325, allocations: 4.406 kB / 372.8 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.2327, allocations: 37.05 kB / 372.8 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/0.2329, allocations: 69.58 kB / 372.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.233, allocations: 2.453 kB / 372.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.2345, allocations: 1.549 MB / 374.4 MB, free: 17.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2345, allocations: 0.5625 kB / 374.4 MB, free: 17.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.2359, allocations: 0.494 MB / 374.9 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.236, allocations: 102.5 kB / 375 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.236, allocations: 5.875 kB / 375 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.2363, allocations: 38.59 kB / 375.1 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.2363, allocations: 23.09 kB / 375.1 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.2364, allocations: 4.078 kB / 375.1 MB, free: 16.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.2365, allocations: 190.8 kB / 375.3 MB, free: 16.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2365, allocations: 0 / 375.3 MB, free: 16.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000316/0.2369, allocations: 67.95 kB / 375.4 MB, free: 16.78 MB / 302.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.001558/0.2384, allocations: 1.032 MB / 376.4 MB, free: 16.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008904/0.2393, allocations: 437 kB / 376.8 MB, free: 16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2393, allocations: 0.5625 kB / 376.8 MB, free: 16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.2398, allocations: 229.6 kB / 377 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.2401, allocations: 57.38 kB / 377.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006916/0.247, allocations: 3.652 MB / 380.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.2472, allocations: 0.7515 MB / 381.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.2473, allocations: 24.91 kB / 381.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.2474, allocations: 79.61 kB / 381.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2474, allocations: 0 / 381.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.2642, allocations: 5.655 MB / 387.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/0.2644, allocations: 232.5 kB / 387.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2, allocations: 0 / 387.5 MB, free: 12.07 MB / 302.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