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.001045/0.001045, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.89 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2814, allocations: 50.54 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003895/0.2853, allocations: 2.882 MB / 411.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.2867, allocations: 0.7401 MB / 412.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.287, allocations: 4 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.2872, allocations: 55.44 kB / 412.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.2875, allocations: 95.25 kB / 412.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.2879, allocations: 107.8 kB / 412.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004763/0.2884, allocations: 398.5 kB / 413.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.2886, allocations: 135.2 kB / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.2889, allocations: 151.4 kB / 413.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.2892, allocations: 175.2 kB / 413.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.27e-05/0.2893, allocations: 40 kB / 413.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.955e-05/0.2893, allocations: 36 kB / 413.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.175e-05/0.2894, allocations: 71.77 kB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.2896, allocations: 167.2 kB / 413.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.29, allocations: 428.2 kB / 414.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.29, allocations: 0 / 414.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.29, allocations: 4 kB / 414.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.29, allocations: 0 / 414.2 MB, free: 12.06 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.001311/0.2913, allocations: 0.6643 MB / 414.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2914, allocations: 8.031 kB / 414.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.148e-05/0.2915, allocations: 54.73 kB / 415 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.202e-05/0.2916, allocations: 36.56 kB / 415 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.292, allocations: 284.7 kB / 415.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.2921, allocations: 24.88 kB / 415.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.2921, allocations: 24.38 kB / 415.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.2928, allocations: 315.8 kB / 415.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2928, allocations: 0 / 415.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.2929, allocations: 12 kB / 415.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2929, allocations: 4 kB / 415.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007385/0.2936, allocations: 278 kB / 415.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.2956, allocations: 1.173 MB / 417.1 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008435/0.2965, allocations: 242.5 kB / 417.3 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.2968, allocations: 100.8 kB / 417.4 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.2968, allocations: 4 kB / 417.4 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004486/0.2973, allocations: 172.9 kB / 417.6 MB, free: 8.461 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.2973, allocations: 0 / 417.6 MB, free: 8.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002045/0.2994, allocations: 0.5927 MB / 418.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.2994, allocations: 81.11 kB / 418.3 MB, free: 7.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.2998, allocations: 274.5 kB / 418.5 MB, free: 7.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.2998, allocations: 29.7 kB / 418.6 MB, free: 7.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3, allocations: 195.5 kB / 418.8 MB, free: 7.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.3, allocations: 39.45 kB / 418.8 MB, free: 7.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.111e-05/0.3001, allocations: 53.61 kB / 418.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3002, allocations: 330.8 kB / 419.2 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.3006, allocations: 112 kB / 419.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.3009, allocations: 195.5 kB / 419.5 MB, free: 6.461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006697/0.3016, allocations: 307.7 kB / 419.8 MB, free: 6.117 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3016, allocations: 0 / 419.8 MB, free: 6.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001151/0.3028, allocations: 443 kB / 420.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.3028, allocations: 36.45 kB / 420.2 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3029, allocations: 4 kB / 420.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003134/0.3032, allocations: 68.88 kB / 420.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.3034, allocations: 55.89 kB / 420.4 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.3055, allocations: 1.637 MB / 422 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.3059, allocations: 51.78 kB / 422.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.3059, allocations: 15.94 kB / 422.1 MB, free: 3.664 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.0001546/0.3061, allocations: 149.7 kB / 422.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.3061, allocations: 19.81 kB / 422.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.3062, allocations: 25.7 kB / 422.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3062, allocations: 7.984 kB / 422.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.3062, allocations: 0 / 422.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3062, allocations: 3.984 kB / 422.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.3065, allocations: 313.3 kB / 422.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3065, allocations: 0 / 422.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.3067, allocations: 31.97 kB / 422.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002142/0.3069, allocations: 60.81 kB / 422.7 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.3069, allocations: 4 kB / 422.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.3088, allocations: 1.632 MB / 424.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3088, allocations: 3.984 kB / 424.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.3101, allocations: 448.9 kB / 424.7 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.3101, allocations: 108.8 kB / 424.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.3102, allocations: 0 / 424.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.3104, allocations: 31.97 kB / 424.9 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.3105, allocations: 20.03 kB / 424.9 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.3105, allocations: 4 kB / 424.9 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.3107, allocations: 190 kB / 425.1 MB, free: 412 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3107, allocations: 0 / 425.1 MB, free: 412 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003435/0.3111, allocations: 67.84 kB / 425.2 MB, free: 344 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.001612/0.3127, allocations: 0.9876 MB / 426.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008787/0.3136, allocations: 409.8 kB / 426.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3136, allocations: 0.6875 kB / 426.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004085/0.314, allocations: 222.5 kB / 426.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.3143, allocations: 44.52 kB / 426.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007089/0.3214, allocations: 3.394 MB / 430.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.3217, allocations: 0.748 MB / 431 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.3218, allocations: 30.22 kB / 431 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.322, allocations: 79.41 kB / 431.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.322, allocations: 0 / 431.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.3524, allocations: 6.445 MB / 437.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.33, allocations: 6.188 kB / 437.5 MB, free: 3.898 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.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