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.001466/0.001466, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00204/0.002041, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 67.89 kB / 358.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2697, allocations: 50.54 MB / 408.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004605/0.2743, allocations: 2.885 MB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.2757, allocations: 0.748 MB / 412.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2759, allocations: 7.938 kB / 412.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.2761, allocations: 43.58 kB / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.2763, allocations: 95.17 kB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.2766, allocations: 115.8 kB / 412.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004745/0.2771, allocations: 394.5 kB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.2773, allocations: 127.2 kB / 413.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.2777, allocations: 159.4 kB / 413.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.2779, allocations: 159.3 kB / 413.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.68e-05/0.278, allocations: 40 kB / 413.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.394e-05/0.278, allocations: 36 kB / 413.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.403e-05/0.2781, allocations: 75.75 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.2783, allocations: 175.2 kB / 413.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.2788, allocations: 425.3 kB / 414.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2788, allocations: 4 kB / 414.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2788, allocations: 0 / 414.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.2788, allocations: 0 / 414.3 MB, free: 11.95 MB / 334.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.0013/0.2801, allocations: 0.6641 MB / 415 MB, free: 11.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.2802, allocations: 12.03 kB / 415 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.418e-05/0.2803, allocations: 58.72 kB / 415 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.2803, allocations: 32.75 kB / 415.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.2807, allocations: 292.7 kB / 415.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.2808, allocations: 20.94 kB / 415.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.2808, allocations: 24.38 kB / 415.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007089/0.2815, allocations: 323.8 kB / 415.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2816, allocations: 3.938 kB / 415.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.2816, allocations: 8 kB / 415.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2816, allocations: 8 kB / 415.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008056/0.2824, allocations: 270.1 kB / 416 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.2845, allocations: 1.173 MB / 417.2 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009113/0.2854, allocations: 254.4 kB / 417.4 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.2858, allocations: 96.8 kB / 417.5 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.2858, allocations: 7.984 kB / 417.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004737/0.2863, allocations: 165 kB / 417.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.2863, allocations: 0 / 417.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002135/0.2884, allocations: 0.6044 MB / 418.3 MB, free: 7.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.2885, allocations: 77.11 kB / 418.4 MB, free: 7.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.2888, allocations: 270.6 kB / 418.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.2888, allocations: 25.7 kB / 418.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.289, allocations: 199.9 kB / 418.9 MB, free: 7.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.289, allocations: 47.64 kB / 418.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.2891, allocations: 45.7 kB / 418.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2893, allocations: 330.8 kB / 419.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.2897, allocations: 108.1 kB / 419.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.2901, allocations: 195.5 kB / 419.6 MB, free: 6.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007315/0.2908, allocations: 299.7 kB / 419.9 MB, free: 6.004 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2909, allocations: 0 / 419.9 MB, free: 6.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001258/0.2921, allocations: 447.8 kB / 420.3 MB, free: 5.551 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.2922, allocations: 40.61 kB / 420.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.2922, allocations: 0 / 420.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/0.2925, allocations: 72.81 kB / 420.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.2928, allocations: 55.95 kB / 420.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.2951, allocations: 1.629 MB / 422.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.2954, allocations: 59.8 kB / 422.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.2954, allocations: 23.88 kB / 422.2 MB, free: 3.531 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.0001487/0.2956, allocations: 141.3 kB / 422.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.2956, allocations: 23.86 kB / 422.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.201e-05/0.2957, allocations: 29.7 kB / 422.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2957, allocations: 0 / 422.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2957, allocations: 3.938 kB / 422.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2957, allocations: 0 / 422.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.296, allocations: 317.4 kB / 422.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.296, allocations: 0 / 422.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.2962, allocations: 35.97 kB / 422.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/0.2965, allocations: 60.75 kB / 422.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.2965, allocations: 8 kB / 422.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.2986, allocations: 1.629 MB / 424.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2986, allocations: 0 / 424.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.3, allocations: 457.5 kB / 424.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/0.3001, allocations: 101 kB / 425 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.3001, allocations: 4 kB / 425 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.3004, allocations: 31.97 kB / 425 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.3005, allocations: 24.03 kB / 425 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3005, allocations: 0 / 425 MB, free: 464 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.3007, allocations: 186 kB / 425.2 MB, free: 280 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3007, allocations: 0 / 425.2 MB, free: 280 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003441/0.3011, allocations: 75.84 kB / 425.3 MB, free: 204 kB / 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.001771/0.3028, allocations: 0.9844 MB / 426.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.3039, allocations: 410.4 kB / 426.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3039, allocations: 0 / 426.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.3043, allocations: 226.6 kB / 426.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.3046, allocations: 42.34 kB / 426.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007977/0.3126, allocations: 3.409 MB / 430.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.3131, allocations: 0.7518 MB / 431.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.3132, allocations: 34.2 kB / 431.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.3133, allocations: 79.41 kB / 431.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.3133, allocations: 0 / 431.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.3485, allocations: 6.289 MB / 437.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.83, allocations: 0 / 437.5 MB, free: 3.902 MB / 350.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.1.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