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.002424/0.002425, allocations: 111.9 kB / 17.06 MB, free: 6.004 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.00349/0.00349, allocations: 198.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.297/3.297, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 43.94 kB / 350.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.7052, allocations: 49.43 MB / 400.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.009942/0.7152, allocations: 2.861 MB / 403.1 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.718, allocations: 0.7245 MB / 403.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000655/0.7187, allocations: 7.938 kB / 403.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.7191, allocations: 43.56 kB / 403.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000707/0.7199, allocations: 99.19 kB / 404 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.7206, allocations: 111.8 kB / 404.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009975/0.7217, allocations: 398.5 kB / 404.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004324/0.7221, allocations: 119.2 kB / 404.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005196/0.7227, allocations: 147.5 kB / 404.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004524/0.7231, allocations: 163.3 kB / 404.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.7233, allocations: 40 kB / 405 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.7235, allocations: 36 kB / 405 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.7236, allocations: 79.69 kB / 405.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004275/0.7241, allocations: 163.2 kB / 405.2 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008343/0.7249, allocations: 436.2 kB / 405.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.725, allocations: 0 / 405.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.725, allocations: 0 / 405.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.317e-05/0.725, allocations: 0 / 405.7 MB, free: 3.379 MB / 318.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.002307/0.7273, allocations: 0.6565 MB / 406.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.926e-05/0.7274, allocations: 8.031 kB / 406.3 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.7275, allocations: 58.73 kB / 406.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.7277, allocations: 36.55 kB / 406.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008069/0.7285, allocations: 292.6 kB / 406.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.7286, allocations: 20.94 kB / 406.7 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.7287, allocations: 20.38 kB / 406.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.7298, allocations: 315.8 kB / 407 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.7298, allocations: 4 kB / 407 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.7299, allocations: 8 kB / 407.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.7299, allocations: 8 kB / 407.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.731, allocations: 278 kB / 407.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.7343, allocations: 1.173 MB / 408.5 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005415/0.7398, allocations: 238.6 kB / 408.7 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/0.7403, allocations: 116.7 kB / 408.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.7404, allocations: 0 / 408.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007321/0.7411, allocations: 176.9 kB / 409 MB, free: 15.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 2.184e-06/0.7412, allocations: 0 / 409 MB, free: 15.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002981/0.7442, allocations: 0.5887 MB / 409.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.7443, allocations: 89.05 kB / 409.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005328/0.7448, allocations: 270.5 kB / 410 MB, free: 14.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.7449, allocations: 29.7 kB / 410 MB, free: 14.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.7452, allocations: 191.5 kB / 410.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.361e-05/0.7452, allocations: 47.44 kB / 410.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.7454, allocations: 45.7 kB / 410.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.7457, allocations: 326.8 kB / 410.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.7462, allocations: 108.1 kB / 410.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.7467, allocations: 192.2 kB / 410.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.7478, allocations: 303.7 kB / 411.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.7478, allocations: 0 / 411.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001751/0.7496, allocations: 447.7 kB / 411.6 MB, free: 13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.497e-05/0.7497, allocations: 41.64 kB / 411.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.7497, allocations: 0 / 411.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004994/0.7502, allocations: 68.88 kB / 411.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.7506, allocations: 55.89 kB / 411.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008505/0.7591, allocations: 1.632 MB / 413.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006416/0.7598, allocations: 51.8 kB / 413.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.717e-05/0.7599, allocations: 15.94 kB / 413.5 MB, free: 10.99 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.0004087/0.7603, allocations: 153.2 kB / 413.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.7605, allocations: 15.81 kB / 413.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.7606, allocations: 25.7 kB / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.7606, allocations: 0 / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.7606, allocations: 0 / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.7606, allocations: 4 kB / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005632/0.7612, allocations: 317.3 kB / 414 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.7612, allocations: 3.984 kB / 414 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.7615, allocations: 35.91 kB / 414 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/0.7618, allocations: 60.83 kB / 414.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.7619, allocations: 7.984 kB / 414.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/0.7648, allocations: 1.621 MB / 415.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7648, allocations: 0 / 415.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.7667, allocations: 449.5 kB / 416.2 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.7668, allocations: 104.7 kB / 416.3 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.7669, allocations: 8 kB / 416.3 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.7672, allocations: 35.95 kB / 416.3 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.7673, allocations: 15.98 kB / 416.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.7674, allocations: 4 kB / 416.3 MB, free: 7.914 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002349/0.7676, allocations: 194 kB / 416.5 MB, free: 7.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7676, allocations: 3.938 kB / 416.5 MB, free: 7.719 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004122/0.768, allocations: 63.84 kB / 416.6 MB, free: 7.656 MB / 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.001966/0.77, allocations: 0.9815 MB / 417.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.7713, allocations: 415 kB / 418 MB, free: 6.211 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7713, allocations: 4.188 kB / 418 MB, free: 6.207 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006218/0.772, allocations: 218.5 kB / 418.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.7725, allocations: 48.69 kB / 418.2 MB, free: 5.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009272/0.7818, allocations: 3.386 MB / 421.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.7823, allocations: 0.7557 MB / 422.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.7825, allocations: 34.16 kB / 422.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.7826, allocations: 79.41 kB / 422.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7827, allocations: 0 / 422.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07256/0.8552, allocations: 6.419 MB / 428.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.86/25.72, allocations: 4.062 kB / 428.9 MB, free: 11.23 MB / 350.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