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.001739/0.001739, allocations: 108.5 kB / 17.05 MB, free: 6.09 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.001966/0.001966, allocations: 192 kB / 17.99 MB, free: 5.184 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.416/1.416, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 51.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2522, allocations: 49.44 MB / 400.3 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004179/0.2564, allocations: 2.848 MB / 403.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2576, allocations: 0.7245 MB / 403.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.2578, allocations: 7.938 kB / 403.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.2579, allocations: 43.56 kB / 403.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.2582, allocations: 99.19 kB / 404 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.2585, allocations: 111.8 kB / 404.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.259, allocations: 394.5 kB / 404.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.2593, allocations: 123.2 kB / 404.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.2595, allocations: 147.5 kB / 404.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.2598, allocations: 163.3 kB / 404.9 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.159e-05/0.2598, allocations: 36 kB / 404.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.58e-05/0.2599, allocations: 44 kB / 405 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/0.26, allocations: 79.69 kB / 405.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.2602, allocations: 163.2 kB / 405.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005236/0.2607, allocations: 429.3 kB / 405.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.944e-06/0.2607, allocations: 4 kB / 405.6 MB, free: 3.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2607, allocations: 0 / 405.6 MB, free: 3.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2607, allocations: 0 / 405.6 MB, free: 3.391 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.001373/0.2621, allocations: 0.6602 MB / 406.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2622, allocations: 12.03 kB / 406.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.323e-05/0.2623, allocations: 58.73 kB / 406.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/0.2623, allocations: 40.69 kB / 406.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.2628, allocations: 300.7 kB / 406.7 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2628, allocations: 16.94 kB / 406.7 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.2629, allocations: 24.38 kB / 406.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.2636, allocations: 315.8 kB / 407.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.2636, allocations: 3.984 kB / 407.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.2637, allocations: 12 kB / 407.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.2637, allocations: 4 kB / 407.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008055/0.2645, allocations: 274 kB / 407.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.2666, allocations: 1.173 MB / 408.5 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009447/0.2675, allocations: 246.5 kB / 408.8 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.2679, allocations: 108.7 kB / 408.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.2679, allocations: 0 / 408.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004754/0.2684, allocations: 168.9 kB / 409 MB, free: 15.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.2684, allocations: 4 kB / 409 MB, free: 15.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002158/0.2706, allocations: 0.5966 MB / 409.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.2707, allocations: 81.11 kB / 409.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.271, allocations: 262.6 kB / 410 MB, free: 14.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.271, allocations: 33.7 kB / 410 MB, free: 14.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.2712, allocations: 199.9 kB / 410.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.2712, allocations: 39.67 kB / 410.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.2713, allocations: 53.66 kB / 410.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2715, allocations: 330.8 kB / 410.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.2719, allocations: 108.1 kB / 410.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000422/0.2723, allocations: 184.2 kB / 410.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000744/0.2731, allocations: 307.1 kB / 411.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2731, allocations: 0 / 411.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001241/0.2743, allocations: 447.8 kB / 411.6 MB, free: 13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.2744, allocations: 40.3 kB / 411.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2744, allocations: 4 kB / 411.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003157/0.2747, allocations: 64.88 kB / 411.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.275, allocations: 55.89 kB / 411.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/0.2773, allocations: 1.65 MB / 413.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.2777, allocations: 51.78 kB / 413.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.2777, allocations: 11.94 kB / 413.5 MB, free: 10.98 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.000162/0.2779, allocations: 145.8 kB / 413.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.2779, allocations: 23.86 kB / 413.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.278, allocations: 25.7 kB / 413.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.278, allocations: 0 / 413.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.278, allocations: 0 / 413.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.278, allocations: 7.938 kB / 413.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.2783, allocations: 321.3 kB / 414 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2783, allocations: 0 / 414 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.2785, allocations: 31.95 kB / 414 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002256/0.2788, allocations: 60.83 kB / 414.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.2788, allocations: 7.984 kB / 414.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.281, allocations: 1.629 MB / 415.7 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.281, allocations: 0 / 415.7 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.2824, allocations: 449.6 kB / 416.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.2825, allocations: 100.9 kB / 416.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.2825, allocations: 4 kB / 416.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.2828, allocations: 36.02 kB / 416.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/0.2829, allocations: 19.92 kB / 416.3 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.2829, allocations: 8 kB / 416.3 MB, free: 7.898 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.2831, allocations: 190 kB / 416.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2831, allocations: 0 / 416.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.2835, allocations: 67.89 kB / 416.6 MB, free: 7.645 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.001818/0.2853, allocations: 0.9839 MB / 417.6 MB, free: 6.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009871/0.2863, allocations: 414.6 kB / 418 MB, free: 6.195 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2863, allocations: 0 / 418 MB, free: 6.195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.2868, allocations: 218.5 kB / 418.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.2871, allocations: 54.69 kB / 418.2 MB, free: 5.918 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/0.2949, allocations: 3.389 MB / 421.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.2954, allocations: 0.7596 MB / 422.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.2955, allocations: 26.23 kB / 422.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.2956, allocations: 79.41 kB / 422.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2957, allocations: 0 / 422.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03435/0.33, allocations: 6.281 MB / 428.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.76, allocations: 8 kB / 428.8 MB, free: 11.35 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