Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 47.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2477, allocations: 53.37 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004195/0.2519, allocations: 2.703 MB / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2532, allocations: 0.7207 MB / 434.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.2534, allocations: 4 kB / 434.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.2536, allocations: 47.5 kB / 434.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.2538, allocations: 103.2 kB / 434.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.2542, allocations: 115.8 kB / 434.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004972/0.2547, allocations: 386.6 kB / 435.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.2549, allocations: 85.3 kB / 435.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.2552, allocations: 167.4 kB / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.2554, allocations: 143.3 kB / 435.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.2555, allocations: 40 kB / 435.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.343e-05/0.2555, allocations: 36 kB / 435.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.2556, allocations: 75.7 kB / 435.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.2557, allocations: 143.4 kB / 435.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.2562, allocations: 434.3 kB / 436.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2562, allocations: 0 / 436.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2562, allocations: 0 / 436.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.2562, allocations: 0 / 436.3 MB, free: 1.438 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.001315/0.2575, allocations: 0.5927 MB / 436.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2576, allocations: 12.03 kB / 436.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.927e-05/0.2576, allocations: 54.72 kB / 436.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/0.2577, allocations: 36.75 kB / 437 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.2582, allocations: 242.8 kB / 437.2 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.2582, allocations: 16.88 kB / 437.2 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.2582, allocations: 24.38 kB / 437.2 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/0.259, allocations: 344.5 kB / 437.6 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.259, allocations: 0 / 437.6 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.259, allocations: 12 kB / 437.6 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.259, allocations: 4 kB / 437.6 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007951/0.2598, allocations: 277.7 kB / 437.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.2617, allocations: 1.048 MB / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000845/0.2626, allocations: 238.6 kB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.2629, allocations: 100.8 kB / 439.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.2629, allocations: 4 kB / 439.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004883/0.2634, allocations: 194.6 kB / 439.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.2634, allocations: 0 / 439.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002319/0.2657, allocations: 0.5252 MB / 440 MB, free: 13.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.2658, allocations: 81.11 kB / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.2662, allocations: 269.8 kB / 440.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.2662, allocations: 33.7 kB / 440.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.2664, allocations: 196.1 kB / 440.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.2664, allocations: 39.62 kB / 440.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.984e-05/0.2665, allocations: 53.66 kB / 440.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2667, allocations: 334.8 kB / 441 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.267, allocations: 129.8 kB / 441.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/0.2675, allocations: 246.9 kB / 441.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.2682, allocations: 302 kB / 441.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2682, allocations: 8 kB / 441.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001396/0.2696, allocations: 469.5 kB / 442.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.2696, allocations: 37.7 kB / 442.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2696, allocations: 4 kB / 442.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003119/0.2699, allocations: 72.81 kB / 442.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.2702, allocations: 55.89 kB / 442.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.2725, allocations: 1.529 MB / 443.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.2728, allocations: 43.95 kB / 443.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.2728, allocations: 19.94 kB / 443.8 MB, free: 9.355 MB / 350.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.0001552/0.2729, allocations: 149.7 kB / 444 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.273, allocations: 27.84 kB / 444 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.273, allocations: 25.66 kB / 444 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.273, allocations: 4 kB / 444 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.273, allocations: 0 / 444 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.273, allocations: 3.984 kB / 444 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.2733, allocations: 256.5 kB / 444.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2733, allocations: 0 / 444.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.2735, allocations: 39.91 kB / 444.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/0.2737, allocations: 56.81 kB / 444.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.2737, allocations: 7.984 kB / 444.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.2757, allocations: 1.525 MB / 445.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2757, allocations: 0 / 445.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.277, allocations: 449.6 kB / 446.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.2771, allocations: 31.77 kB / 446.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.2771, allocations: 4 kB / 446.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.2773, allocations: 31.95 kB / 446.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.2774, allocations: 23.91 kB / 446.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.2774, allocations: 0 / 446.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.2776, allocations: 189.3 kB / 446.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2776, allocations: 0 / 446.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003147/0.2779, allocations: 71.89 kB / 446.7 MB, free: 6.293 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: 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.001718/0.2796, allocations: 0.9844 MB / 447.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009858/0.2806, allocations: 435.7 kB / 448.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2806, allocations: 4 kB / 448.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.2811, allocations: 206.6 kB / 448.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.2814, allocations: 54.48 kB / 448.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007534/0.2889, allocations: 3.513 MB / 451.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.2891, allocations: 150.8 kB / 452 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.2892, allocations: 26.28 kB / 452.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.2893, allocations: 75.42 kB / 452.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2893, allocations: 3.938 kB / 452.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.3265, allocations: 7.011 MB / 459.2 MB, free: 9.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.61, allocations: 8.219 kB / 459.2 MB, free: 9.766 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! Error: Could not read variable integrator.opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.047191882971674]