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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00168/0.00168, allocations: 116.4 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001913/0.001913, allocations: 218.9 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 59.91 kB / 377.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2629, allocations: 53.41 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004884/0.2678, allocations: 2.924 MB / 434.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.2695, allocations: 0.7285 MB / 434.9 MB, free: 3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.2697, allocations: 8 kB / 434.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.2699, allocations: 51.5 kB / 434.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.2702, allocations: 103.2 kB / 435 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.2705, allocations: 95.84 kB / 435.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004709/0.2709, allocations: 390.5 kB / 435.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.2712, allocations: 87.67 kB / 435.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.2715, allocations: 163.3 kB / 435.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.2717, allocations: 171.3 kB / 435.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.2718, allocations: 40 kB / 436 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.055e-05/0.2718, allocations: 43.94 kB / 436 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.974e-05/0.2719, allocations: 71.77 kB / 436.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.2721, allocations: 175.1 kB / 436.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005403/0.2727, allocations: 434.7 kB / 436.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2727, allocations: 3.938 kB / 436.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2727, allocations: 0 / 436.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.2727, allocations: 0 / 436.7 MB, free: 1.195 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00125/0.2739, allocations: 0.5848 MB / 437.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.274, allocations: 8.031 kB / 437.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.109e-05/0.2741, allocations: 62.72 kB / 437.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.074e-05/0.2741, allocations: 32.75 kB / 437.3 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.2747, allocations: 249.7 kB / 437.6 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.2747, allocations: 16.88 kB / 437.6 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.2747, allocations: 28.38 kB / 437.6 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/0.2754, allocations: 276.2 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.2754, allocations: 4 kB / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.2754, allocations: 8 kB / 437.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.2754, allocations: 8 kB / 437.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.2761, allocations: 249.8 kB / 438.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.2781, allocations: 1.074 MB / 439.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006724/0.2788, allocations: 206.6 kB / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.2791, allocations: 84.8 kB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.2791, allocations: 0 / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000441/0.2795, allocations: 180.7 kB / 439.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.804e-06/0.2795, allocations: 0 / 439.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001414/0.281, allocations: 385.9 kB / 440.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/0.281, allocations: 110.8 kB / 440.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.2813, allocations: 265.8 kB / 440.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.2814, allocations: 33.7 kB / 440.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.2815, allocations: 192.1 kB / 440.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.2816, allocations: 55.56 kB / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.493e-05/0.2817, allocations: 57.88 kB / 440.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2818, allocations: 330.8 kB / 441.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.2821, allocations: 92.09 kB / 441.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.2824, allocations: 184.3 kB / 441.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005665/0.283, allocations: 273.7 kB / 441.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.283, allocations: 4 kB / 441.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001001/0.284, allocations: 383.6 kB / 442 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/0.284, allocations: 39.88 kB / 442.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.284, allocations: 0 / 442.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003284/0.2844, allocations: 65.06 kB / 442.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.2846, allocations: 51.95 kB / 442.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.2864, allocations: 1.492 MB / 443.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.2867, allocations: 59.7 kB / 443.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.2867, allocations: 8 kB / 443.7 MB, free: 9.641 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,integrator.opAmp.satNeg,integrator.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.2869, allocations: 153.5 kB / 443.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.2869, allocations: 23.86 kB / 443.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.39e-05/0.287, allocations: 29.83 kB / 443.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.287, allocations: 4 kB / 443.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.287, allocations: 3.938 kB / 443.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.287, allocations: 0 / 443.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.2873, allocations: 296.4 kB / 444.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2873, allocations: 0 / 444.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.2876, allocations: 31.97 kB / 444.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002201/0.2878, allocations: 64.73 kB / 444.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2878, allocations: 0 / 444.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.2895, allocations: 1.496 MB / 445.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2896, allocations: 4.031 kB / 445.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009908/0.2905, allocations: 388.9 kB / 446.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.2906, allocations: 23.95 kB / 446.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.2906, allocations: 15.98 kB / 446.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.2908, allocations: 27.95 kB / 446.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/0.2909, allocations: 27.91 kB / 446.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.2909, allocations: 0 / 446.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002201/0.2912, allocations: 193.1 kB / 446.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2912, allocations: 0 / 446.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003451/0.2915, allocations: 83.78 kB / 446.6 MB, free: 6.609 MB / 350.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: 5 ($whenCondition1,integrator.opAmp.satPos,integrator.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001529/0.293, allocations: 0.9137 MB / 447.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008911/0.2939, allocations: 386.1 kB / 447.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2939, allocations: 0 / 447.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.2944, allocations: 214.6 kB / 448.1 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.2947, allocations: 55.81 kB / 448.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005942/0.3006, allocations: 3.081 MB / 451.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.3011, allocations: 0.7558 MB / 452 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.3012, allocations: 26.3 kB / 452 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.3013, allocations: 83.41 kB / 452.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3013, allocations: 0 / 452.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03814/0.3395, allocations: 6.795 MB / 458.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.57, allocations: 4.375 kB / 458.9 MB, free: 10.21 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv","/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) [Timeout 660] "Error: Could not read variable integrator.opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! Error: Could not read variable integrator.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.983719227999245]