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.0009841/0.0009843, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009899/0.0009899, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.176/1.176, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 58.72 kB / 307.1 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07972/0.08127, allocations: 50.54 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.00336/0.08467, allocations: 2.872 MB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009775/0.08566, allocations: 0.7557 MB / 361.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.08578, allocations: 4 kB / 361.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.08591, allocations: 47.5 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.08607, allocations: 95.19 kB / 361.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.08631, allocations: 111.8 kB / 361.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.08664, allocations: 394.5 kB / 361.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.08684, allocations: 127.2 kB / 362 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.08707, allocations: 155.4 kB / 362.1 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.08724, allocations: 175.2 kB / 362.3 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.08729, allocations: 36 kB / 362.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.984e-05/0.08735, allocations: 40 kB / 362.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.08741, allocations: 71.7 kB / 362.5 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.08754, allocations: 175.2 kB / 362.6 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.08786, allocations: 414.9 kB / 363 MB, free: 8.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.08787, allocations: 4 kB / 363 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.08787, allocations: 0 / 363 MB, free: 8.512 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.08789, allocations: 7.938 kB / 363 MB, free: 8.504 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.001056/0.08895, allocations: 0.6526 MB / 363.7 MB, free: 7.797 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.08898, allocations: 12.03 kB / 363.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.35e-05/0.08904, allocations: 58.73 kB / 363.8 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.0891, allocations: 32.56 kB / 363.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.0894, allocations: 300.5 kB / 364.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.08942, allocations: 16.94 kB / 364.1 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.08946, allocations: 24.38 kB / 364.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000599/0.09007, allocations: 319.8 kB / 364.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.09009, allocations: 0 / 364.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.09012, allocations: 15.92 kB / 364.5 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.09013, allocations: 8 kB / 364.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007078/0.09084, allocations: 274 kB / 364.7 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.0925, allocations: 1.169 MB / 365.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007649/0.09327, allocations: 246.6 kB / 366.1 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.09358, allocations: 104.8 kB / 366.2 MB, free: 5.086 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.0936, allocations: 0 / 366.2 MB, free: 5.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004146/0.09402, allocations: 172.9 kB / 366.4 MB, free: 4.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.09403, allocations: 0 / 366.4 MB, free: 4.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001841/0.09588, allocations: 0.5929 MB / 367 MB, free: 4.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.09593, allocations: 77.11 kB / 367.1 MB, free: 4.184 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.09616, allocations: 262.6 kB / 367.3 MB, free: 3.918 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.09619, allocations: 29.7 kB / 367.4 MB, free: 3.883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.0963, allocations: 203.4 kB / 367.6 MB, free: 3.676 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.09634, allocations: 39.45 kB / 367.6 MB, free: 3.637 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.09642, allocations: 49.7 kB / 367.7 MB, free: 3.582 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.09652, allocations: 330.8 kB / 368 MB, free: 3.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.09684, allocations: 104.1 kB / 368.1 MB, free: 3.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.09721, allocations: 188.6 kB / 368.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.09785, allocations: 306.4 kB / 368.6 MB, free: 2.582 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.09786, allocations: 4 kB / 368.6 MB, free: 2.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001057/0.09892, allocations: 439.7 kB / 369 MB, free: 2.133 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.09896, allocations: 41.7 kB / 369 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.09897, allocations: 0 / 369 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/0.09923, allocations: 64.81 kB / 369.1 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.09945, allocations: 59.89 kB / 369.2 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.1013, allocations: 1.656 MB / 370.8 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.1016, allocations: 47.75 kB / 370.9 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.1016, allocations: 23.98 kB / 370.9 MB, free: 92 kB / 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.1176/0.2193, allocations: 135 kB / 371 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.2194, allocations: 21.69 kB / 371 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.2194, allocations: 27.75 kB / 371.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2194, allocations: 2.469 kB / 371.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.2194, allocations: 0 / 371.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2194, allocations: 4.438 kB / 371.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.2197, allocations: 307.3 kB / 371.4 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2197, allocations: 0 / 371.4 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.2199, allocations: 33.89 kB / 371.4 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/0.2202, allocations: 62.47 kB / 371.5 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.2202, allocations: 2.859 kB / 371.5 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.2217, allocations: 1.63 MB / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2217, allocations: 2.719 kB / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.223, allocations: 453.7 kB / 373.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.223, allocations: 97.06 kB / 373.6 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.2231, allocations: 5.156 kB / 373.6 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.2233, allocations: 34.52 kB / 373.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.2233, allocations: 18.8 kB / 373.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.2233, allocations: 2.797 kB / 373.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.2235, allocations: 188.1 kB / 373.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2235, allocations: 0 / 373.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.2238, allocations: 73.33 kB / 374 MB, free: 18.27 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.001339/0.2251, allocations: 0.9773 MB / 374.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008067/0.226, allocations: 418 kB / 375.3 MB, free: 17.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.226, allocations: 0 / 375.3 MB, free: 17.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.2263, allocations: 214 kB / 375.5 MB, free: 17.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.2266, allocations: 54.14 kB / 375.6 MB, free: 17.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006218/0.2329, allocations: 3.424 MB / 379 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.233, allocations: 0.7529 MB / 379.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.472e-05/0.2331, allocations: 26.56 kB / 379.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.296e-05/0.2332, allocations: 79.16 kB / 379.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.2332, allocations: 0 / 379.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.614/1.847, allocations: 6.182 MB / 386.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/12.73, allocations: 6.219 kB / 386.1 MB, free: 13.39 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