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.001214/0.001214, allocations: 105 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001618/0.001618, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 69.11 kB / 306.6 MB, free: 0.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1165, allocations: 50.53 MB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004826/0.1213, allocations: 2.917 MB / 360 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.123, allocations: 0.7441 MB / 360.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.1233, allocations: 4 kB / 360.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.1236, allocations: 35.75 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.124, allocations: 87.38 kB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.1243, allocations: 95.86 kB / 361 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005246/0.1249, allocations: 390.5 kB / 361.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/0.1252, allocations: 131.2 kB / 361.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.1256, allocations: 159.4 kB / 361.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.1259, allocations: 167.2 kB / 361.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.868e-05/0.126, allocations: 36 kB / 361.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.622e-05/0.1261, allocations: 40 kB / 361.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.754e-05/0.1261, allocations: 79.69 kB / 362 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.1264, allocations: 167.2 kB / 362.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.1268, allocations: 414.9 kB / 362.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1268, allocations: 0 / 362.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1268, allocations: 4 kB / 362.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.1268, allocations: 0 / 362.5 MB, free: 8.625 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.001447/0.1283, allocations: 0.6604 MB / 363.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1284, allocations: 16.02 kB / 363.2 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.003e-05/0.1285, allocations: 58.73 kB / 363.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.461e-05/0.1286, allocations: 40.55 kB / 363.3 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.129, allocations: 288.6 kB / 363.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.129, allocations: 16.88 kB / 363.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.1291, allocations: 24.38 kB / 363.6 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007525/0.1298, allocations: 323.8 kB / 363.9 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1299, allocations: 0 / 363.9 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.1299, allocations: 12 kB / 364 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1299, allocations: 7.938 kB / 364 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007882/0.1307, allocations: 282 kB / 364.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.1328, allocations: 1.161 MB / 365.4 MB, free: 5.555 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/0.1337, allocations: 246.5 kB / 365.6 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.1341, allocations: 104.8 kB / 365.7 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1341, allocations: 0 / 365.7 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000542/0.1347, allocations: 176.9 kB / 365.9 MB, free: 5.008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.1347, allocations: 0 / 365.9 MB, free: 5.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002154/0.1368, allocations: 0.5964 MB / 366.5 MB, free: 4.383 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.137, allocations: 85.11 kB / 366.6 MB, free: 4.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.1374, allocations: 258.6 kB / 366.9 MB, free: 4.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.1375, allocations: 33.7 kB / 366.9 MB, free: 3.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.1377, allocations: 195.5 kB / 367.1 MB, free: 3.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.1378, allocations: 43.45 kB / 367.1 MB, free: 3.738 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.1379, allocations: 49.7 kB / 367.2 MB, free: 3.684 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1381, allocations: 330.8 kB / 367.5 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.1386, allocations: 104.1 kB / 367.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/0.139, allocations: 192.6 kB / 367.8 MB, free: 3.023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008184/0.1399, allocations: 307.7 kB / 368.1 MB, free: 2.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.1399, allocations: 0 / 368.1 MB, free: 2.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001377/0.1413, allocations: 442.3 kB / 368.5 MB, free: 2.234 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.759e-05/0.1414, allocations: 45.64 kB / 368.6 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.1414, allocations: 4 kB / 368.6 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003884/0.1418, allocations: 64.8 kB / 368.6 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.1421, allocations: 59.89 kB / 368.7 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.1443, allocations: 1.633 MB / 370.3 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.1447, allocations: 59.73 kB / 370.4 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.1447, allocations: 11.94 kB / 370.4 MB, free: 212 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.0002088/0.145, allocations: 145.8 kB / 370.5 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.145, allocations: 23.72 kB / 370.5 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.746e-05/0.1451, allocations: 21.7 kB / 370.6 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1451, allocations: 0 / 370.6 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1451, allocations: 4 kB / 370.6 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1451, allocations: 0 / 370.6 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2311/0.3763, allocations: 307.8 kB / 370.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3763, allocations: 0.875 kB / 370.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.3765, allocations: 31.25 kB / 370.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002602/0.3768, allocations: 65.73 kB / 371 MB, free: 20.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.3768, allocations: 3.328 kB / 371 MB, free: 20.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.3788, allocations: 1.628 MB / 372.6 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.3789, allocations: 4.141 kB / 372.6 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.3804, allocations: 453.5 kB / 373 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.05e-05/0.3805, allocations: 97.58 kB / 373.1 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.3805, allocations: 9.078 kB / 373.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.3808, allocations: 27.81 kB / 373.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.3809, allocations: 20.98 kB / 373.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.3809, allocations: 8.094 kB / 373.2 MB, free: 18.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002434/0.3812, allocations: 192.6 kB / 373.4 MB, free: 18.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3812, allocations: 0 / 373.4 MB, free: 18.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004372/0.3816, allocations: 71.64 kB / 373.5 MB, free: 18.5 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.001718/0.3833, allocations: 0.9792 MB / 374.4 MB, free: 17.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009948/0.3843, allocations: 412.4 kB / 374.8 MB, free: 17.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3844, allocations: 1.406 kB / 374.8 MB, free: 17.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004451/0.3848, allocations: 217.7 kB / 375.1 MB, free: 17.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3852, allocations: 52.34 kB / 375.1 MB, free: 17.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008535/0.3937, allocations: 3.503 MB / 378.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.3942, allocations: 0.7537 MB / 379.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.3944, allocations: 19.45 kB / 379.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.3946, allocations: 79.89 kB / 379.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3946, allocations: 0 / 379.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.4196, allocations: 5.965 MB / 385.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.4198, allocations: 240.9 kB / 385.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/2.431, allocations: 3.938 kB / 385.7 MB, free: 13.43 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