Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 107.3 kB / 16.92 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 191.3 kB / 17.85 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 46.69 kB / 300.7 MB, free: 5.707 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.123, allocations: 49.45 MB / 350.2 MB, free: 4.242 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.005893/0.129, allocations: 2.851 MB / 353 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1307, allocations: 0.7207 MB / 353.8 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.1309, allocations: 4 kB / 353.8 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.1311, allocations: 51.5 kB / 353.8 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.1314, allocations: 99.19 kB / 353.9 MB, free: 500 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.1318, allocations: 115.8 kB / 354 MB, free: 384 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006736/0.1325, allocations: 386.6 kB / 354.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004115/0.1329, allocations: 123.2 kB / 354.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.1332, allocations: 159.4 kB / 354.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.1335, allocations: 159.3 kB / 354.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.924e-05/0.1336, allocations: 40 kB / 354.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.11e-05/0.1337, allocations: 39.94 kB / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1338, allocations: 75.75 kB / 355 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.134, allocations: 171.2 kB / 355.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005408/0.1346, allocations: 418.8 kB / 355.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1346, allocations: 0 / 355.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1346, allocations: 4 kB / 355.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1346, allocations: 0 / 355.6 MB, free: 14.83 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.001789/0.1364, allocations: 0.6603 MB / 356.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/0.1365, allocations: 12.03 kB / 356.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.708e-05/0.1366, allocations: 58.73 kB / 356.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.1367, allocations: 36.56 kB / 356.3 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.1373, allocations: 296.5 kB / 356.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.1373, allocations: 20.92 kB / 356.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.1374, allocations: 28.31 kB / 356.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.1385, allocations: 311.8 kB / 357 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1385, allocations: 4 kB / 357 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/0.1385, allocations: 12 kB / 357 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.1386, allocations: 8 kB / 357 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.1398, allocations: 274.1 kB / 357.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002898/0.1427, allocations: 1.165 MB / 358.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.1441, allocations: 250.5 kB / 358.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005347/0.1446, allocations: 104.8 kB / 358.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.1447, allocations: 4 kB / 358.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007378/0.1454, allocations: 169 kB / 358.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.274e-06/0.1455, allocations: 4 kB / 358.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.003297/0.1488, allocations: 0.5964 MB / 359.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.1488, allocations: 81.11 kB / 359.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.1493, allocations: 262.6 kB / 359.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.1493, allocations: 29.7 kB / 359.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.1495, allocations: 195.5 kB / 360.1 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.1496, allocations: 39.55 kB / 360.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.1498, allocations: 49.61 kB / 360.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1499, allocations: 334.8 kB / 360.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.1505, allocations: 104.1 kB / 360.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/0.1512, allocations: 188.5 kB / 360.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.1523, allocations: 303.7 kB / 361.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1524, allocations: 0 / 361.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001968/0.1543, allocations: 447.1 kB / 361.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.537e-05/0.1544, allocations: 45.62 kB / 361.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1544, allocations: 3.984 kB / 361.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004528/0.1549, allocations: 72.86 kB / 361.6 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.1553, allocations: 55.91 kB / 361.7 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003287/0.1586, allocations: 1.636 MB / 363.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.1591, allocations: 43.75 kB / 363.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.1591, allocations: 15.94 kB / 363.4 MB, free: 6.43 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.0002048/0.1594, allocations: 149.8 kB / 363.5 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.1594, allocations: 23.72 kB / 363.6 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.1595, allocations: 17.72 kB / 363.6 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1595, allocations: 4 kB / 363.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1595, allocations: 3.984 kB / 363.6 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1595, allocations: 0 / 363.6 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.16, allocations: 317.3 kB / 363.9 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.16, allocations: 0 / 363.9 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.1603, allocations: 31.97 kB / 363.9 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003344/0.1606, allocations: 64.8 kB / 364 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.1607, allocations: 4 kB / 364 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002992/0.1637, allocations: 1.636 MB / 365.6 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1637, allocations: 0 / 365.6 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.1658, allocations: 449.8 kB / 366.1 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.944e-05/0.1659, allocations: 96.94 kB / 366.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.166, allocations: 11.94 kB / 366.2 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.1664, allocations: 23.97 kB / 366.2 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.875e-05/0.1665, allocations: 23.91 kB / 366.2 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.1665, allocations: 4.062 kB / 366.2 MB, free: 3.355 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002971/0.1668, allocations: 194 kB / 366.4 MB, free: 3.168 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1669, allocations: 0 / 366.4 MB, free: 3.168 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006111/0.1675, allocations: 67.75 kB / 366.5 MB, free: 3.102 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.002654/0.1702, allocations: 0.9838 MB / 367.5 MB, free: 2.082 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.1716, allocations: 417.7 kB / 367.9 MB, free: 1.648 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1717, allocations: 0 / 367.9 MB, free: 1.648 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007064/0.1724, allocations: 219.3 kB / 368.1 MB, free: 1.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.1729, allocations: 36.55 kB / 368.1 MB, free: 1.387 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1853/0.3582, allocations: 3.4 MB / 371.5 MB, free: 24.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3586, allocations: 0.7513 MB / 372.3 MB, free: 23.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.3588, allocations: 27.45 kB / 372.3 MB, free: 23.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.3589, allocations: 76.38 kB / 372.4 MB, free: 23.75 MB / 302.1 MB Notification: Performance of SimCode: time 1.001e-06/0.3589, allocations: 0 / 372.4 MB, free: 23.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.3919, allocations: 6.173 MB / 378.6 MB, free: 23.08 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.37, allocations: 12.31 kB / 378.6 MB, free: 23.07 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_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