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.001294/0.001294, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001371/0.001371, allocations: 213.5 kB / 23.75 MB, free: 4.668 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.395/1.395, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.001462/0.001462, allocations: 47.92 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2323, allocations: 53.36 MB / 431.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004359/0.2367, allocations: 2.912 MB / 434.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.238, allocations: 0.7634 MB / 434.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.2382, allocations: 8 kB / 434.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.2383, allocations: 47.52 kB / 434.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.2385, allocations: 103.2 kB / 435 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.2388, allocations: 115.8 kB / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.2393, allocations: 386.5 kB / 435.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.2395, allocations: 91.66 kB / 435.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.2398, allocations: 167.3 kB / 435.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.24, allocations: 167.3 kB / 435.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.233e-05/0.24, allocations: 36 kB / 435.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.936e-05/0.2401, allocations: 40 kB / 436 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.2402, allocations: 75.7 kB / 436 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.2403, allocations: 171.2 kB / 436.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.2408, allocations: 426.8 kB / 436.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2408, allocations: 0 / 436.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2408, allocations: 4 kB / 436.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.2408, allocations: 0 / 436.6 MB, free: 1.363 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.001277/0.2421, allocations: 0.5887 MB / 437.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2421, allocations: 11.97 kB / 437.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.323e-05/0.2422, allocations: 54.73 kB / 437.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.2423, allocations: 36.73 kB / 437.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.2427, allocations: 238.8 kB / 437.6 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.2427, allocations: 24.86 kB / 437.6 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.2427, allocations: 28.38 kB / 437.6 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006911/0.2434, allocations: 310.8 kB / 437.9 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2435, allocations: 0 / 437.9 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.676e-05/0.2435, allocations: 12.05 kB / 437.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2435, allocations: 4 kB / 437.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007862/0.2443, allocations: 277.7 kB / 438.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.2463, allocations: 1.123 MB / 439.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000866/0.2472, allocations: 242.6 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.2475, allocations: 96.78 kB / 439.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.2475, allocations: 0 / 439.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004682/0.248, allocations: 176.9 kB / 439.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.248, allocations: 0 / 439.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002008/0.25, allocations: 0.5136 MB / 440.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.2501, allocations: 89.05 kB / 440.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.2505, allocations: 261.9 kB / 440.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.2505, allocations: 33.64 kB / 440.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.2507, allocations: 200 kB / 440.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.2507, allocations: 43.64 kB / 441 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.2508, allocations: 45.7 kB / 441 MB, free: 12.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.251, allocations: 334.8 kB / 441.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.2513, allocations: 100.2 kB / 441.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.2517, allocations: 203.5 kB / 441.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007189/0.2524, allocations: 306.7 kB / 441.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.2524, allocations: 8 kB / 441.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001191/0.2536, allocations: 439.9 kB / 442.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.2537, allocations: 37.64 kB / 442.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2537, allocations: 4 kB / 442.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003055/0.254, allocations: 64.88 kB / 442.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.2542, allocations: 59.89 kB / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.2565, allocations: 1.53 MB / 444.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.2568, allocations: 59.83 kB / 444.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.2568, allocations: 11.94 kB / 444.1 MB, free: 9.395 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.0001667/0.257, allocations: 145.8 kB / 444.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.257, allocations: 27.86 kB / 444.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.2571, allocations: 21.7 kB / 444.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2571, allocations: 0 / 444.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.2571, allocations: 8 kB / 444.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2571, allocations: 0 / 444.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.2574, allocations: 292.4 kB / 444.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2574, allocations: 0 / 444.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.2576, allocations: 35.89 kB / 444.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002282/0.2578, allocations: 60.83 kB / 444.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.2578, allocations: 3.984 kB / 444.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.2599, allocations: 1.529 MB / 446.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.26, allocations: 0 / 446.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.2613, allocations: 456 kB / 446.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.2613, allocations: 23.89 kB / 446.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.2614, allocations: 4 kB / 446.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.2616, allocations: 36.02 kB / 446.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.2617, allocations: 15.97 kB / 446.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.2617, allocations: 11.88 kB / 446.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.2619, allocations: 189.2 kB / 447 MB, free: 6.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2619, allocations: 0 / 447 MB, free: 6.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.2622, allocations: 71.84 kB / 447 MB, free: 6.301 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.001672/0.2639, allocations: 0.9864 MB / 448 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009616/0.2649, allocations: 409.6 kB / 448.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2649, allocations: 4 kB / 448.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000447/0.2653, allocations: 206.6 kB / 448.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.2656, allocations: 43.12 kB / 448.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007353/0.273, allocations: 3.41 MB / 452.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.2733, allocations: 0.7518 MB / 452.8 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.2734, allocations: 26.28 kB / 452.8 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.2736, allocations: 75.41 kB / 452.9 MB, free: 168 kB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2736, allocations: 0 / 452.9 MB, free: 168 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.3117, allocations: 6.493 MB / 459.4 MB, free: 9.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.72, allocations: 3.938 kB / 459.4 MB, free: 9.836 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.114464590998978]