Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002266/0.002266, allocations: 195.7 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 47.92 kB / 370.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2447, allocations: 52.18 MB / 422.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004467/0.2492, allocations: 2.86 MB / 425.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2506, allocations: 0.7442 MB / 426.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.2508, allocations: 11.94 kB / 426.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.2509, allocations: 51.5 kB / 426.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.2512, allocations: 123 kB / 426.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.2515, allocations: 127.8 kB / 426.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004928/0.252, allocations: 454.2 kB / 427 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.2522, allocations: 97.19 kB / 427.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.2525, allocations: 179.3 kB / 427.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.2527, allocations: 163.2 kB / 427.4 MB, free: 9.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-05/0.2528, allocations: 44 kB / 427.4 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.586e-05/0.2528, allocations: 48 kB / 427.5 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.2529, allocations: 99.61 kB / 427.6 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.2531, allocations: 155.3 kB / 427.7 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005647/0.2537, allocations: 0.4981 MB / 428.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2537, allocations: 0 / 428.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2537, allocations: 0 / 428.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.2537, allocations: 0 / 428.2 MB, free: 8.891 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001398/0.2551, allocations: 0.6394 MB / 428.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.2551, allocations: 12.03 kB / 428.9 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.788e-05/0.2552, allocations: 58.73 kB / 428.9 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.748e-05/0.2553, allocations: 48.62 kB / 429 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.2558, allocations: 257 kB / 429.2 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.2558, allocations: 24.97 kB / 429.3 MB, free: 7.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.2558, allocations: 32.12 kB / 429.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008068/0.2566, allocations: 400.4 kB / 429.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2567, allocations: 0 / 429.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.2567, allocations: 12 kB / 429.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.2567, allocations: 12 kB / 429.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008538/0.2576, allocations: 306.3 kB / 430 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.2597, allocations: 1.132 MB / 431.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000792/0.2605, allocations: 242.4 kB / 431.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/0.261, allocations: 136.7 kB / 431.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.261, allocations: 0 / 431.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005623/0.2615, allocations: 245.3 kB / 431.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.2615, allocations: 0 / 431.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002109/0.2636, allocations: 0.571 MB / 432.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/0.2637, allocations: 106.8 kB / 432.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.2641, allocations: 300.4 kB / 432.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.2641, allocations: 29.7 kB / 432.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.2643, allocations: 216.3 kB / 433 MB, free: 3.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.2643, allocations: 55.52 kB / 433 MB, free: 3.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.2644, allocations: 65.64 kB / 433.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2646, allocations: 334.8 kB / 433.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.265, allocations: 145.9 kB / 433.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.2655, allocations: 302.4 kB / 433.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007563/0.2663, allocations: 341.8 kB / 434.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2663, allocations: 0 / 434.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00128/0.2675, allocations: 0.5035 MB / 434.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.2676, allocations: 33.7 kB / 434.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.2676, allocations: 4 kB / 434.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/0.2679, allocations: 72.81 kB / 434.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.2682, allocations: 63.89 kB / 434.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.2705, allocations: 1.54 MB / 436.4 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.2708, allocations: 59.75 kB / 436.4 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.2708, allocations: 15.98 kB / 436.5 MB, free: 124 kB / 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 (31): * Single equations (assignments): 29 * 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.0001862/0.271, allocations: 149.7 kB / 436.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.2711, allocations: 35.75 kB / 436.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/0.2711, allocations: 30.14 kB / 436.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2711, allocations: 4 kB / 436.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.2711, allocations: 4 kB / 436.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2711, allocations: 0 / 436.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.2727, allocations: 0.7176 MB / 437.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2727, allocations: 0 / 437.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.273, allocations: 51.89 kB / 437.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/0.2732, allocations: 60.86 kB / 437.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.2732, allocations: 3.984 kB / 437.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.2753, allocations: 1.534 MB / 439 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2753, allocations: 0 / 439 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.2768, allocations: 0.5665 MB / 439.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.2768, allocations: 23.84 kB / 439.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.2769, allocations: 8 kB / 439.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.2772, allocations: 35.95 kB / 439.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.2772, allocations: 23.91 kB / 439.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.2773, allocations: 4 kB / 439.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002393/0.2775, allocations: 211.1 kB / 439.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2775, allocations: 4.062 kB / 439.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004028/0.2779, allocations: 87.78 kB / 440 MB, free: 12.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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.001855/0.2798, allocations: 1.107 MB / 441.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.2808, allocations: 468 kB / 441.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2808, allocations: 0 / 441.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.2813, allocations: 230.5 kB / 441.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.2817, allocations: 57.03 kB / 441.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00744/0.2892, allocations: 3.787 MB / 445.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.2893, allocations: 159.8 kB / 445.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.2895, allocations: 30.97 kB / 445.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.2897, allocations: 95.41 kB / 445.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2897, allocations: 0 / 445.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04052/0.3302, allocations: 8.026 MB / 453.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.74, allocations: 4 kB / 453.9 MB, free: 14.35 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_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_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable firstOrder.opAmp.out.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv. Warning: Get data of variable firstOrder.opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv failed! Error: Could not read variable firstOrder.opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv. Warning: Get data of variable firstOrder.opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.443854208104312]