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.001789/0.001789, allocations: 112 kB / 20.43 MB, free: 1.301 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.002114/0.002114, allocations: 182 kB / 23.72 MB, free: 4.559 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.417/1.417, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.0015/0.0015, allocations: 51.91 kB / 370.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2479, allocations: 52.18 MB / 422.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004635/0.2525, allocations: 3.105 MB / 425.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2539, allocations: 0.787 MB / 426.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.2541, allocations: 4 kB / 426.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.2542, allocations: 59.44 kB / 426.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.2545, allocations: 115 kB / 426.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.2548, allocations: 131.8 kB / 426.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.2553, allocations: 458.3 kB / 427.3 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.2556, allocations: 99.5 kB / 427.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.2558, allocations: 187.3 kB / 427.6 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.2561, allocations: 187.2 kB / 427.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.2562, allocations: 48 kB / 427.8 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.42e-05/0.2562, allocations: 44 kB / 427.9 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.553e-05/0.2563, allocations: 87.64 kB / 427.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.2565, allocations: 187.2 kB / 428.1 MB, free: 9.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005522/0.2571, allocations: 0.4984 MB / 428.6 MB, free: 8.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2571, allocations: 0 / 428.6 MB, free: 8.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2571, allocations: 0 / 428.6 MB, free: 8.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.2571, allocations: 4 kB / 428.6 MB, free: 8.621 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.00138/0.2585, allocations: 0.6472 MB / 429.3 MB, free: 7.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2585, allocations: 8.031 kB / 429.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.58e-05/0.2586, allocations: 62.72 kB / 429.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/0.2586, allocations: 40.7 kB / 429.4 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.2591, allocations: 256.9 kB / 429.6 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2591, allocations: 21.03 kB / 429.7 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.993e-05/0.2592, allocations: 36.11 kB / 429.7 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007688/0.2599, allocations: 353 kB / 430 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2599, allocations: 0 / 430 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.26, allocations: 8 kB / 430 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.26, allocations: 8 kB / 430.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008423/0.2608, allocations: 306.4 kB / 430.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.263, allocations: 1.226 MB / 431.6 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007842/0.2638, allocations: 246.4 kB / 431.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/0.2642, allocations: 124.8 kB / 431.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.2642, allocations: 4.094 kB / 431.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000487/0.2647, allocations: 205 kB / 432.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.2647, allocations: 0 / 432.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002079/0.2668, allocations: 0.5603 MB / 432.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.2669, allocations: 110.8 kB / 432.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.2673, allocations: 304.4 kB / 433.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.2673, allocations: 29.7 kB / 433.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.2675, allocations: 216.3 kB / 433.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.2675, allocations: 55.55 kB / 433.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.895e-05/0.2676, allocations: 53.7 kB / 433.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2678, allocations: 338.8 kB / 433.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.2682, allocations: 116.2 kB / 433.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.2686, allocations: 217.3 kB / 434.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000823/0.2695, allocations: 339.7 kB / 434.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2695, allocations: 0 / 434.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001316/0.2708, allocations: 485.5 kB / 434.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.002e-05/0.2708, allocations: 37.7 kB / 435 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2708, allocations: 4 kB / 435 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000333/0.2712, allocations: 64.88 kB / 435 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.2715, allocations: 67.89 kB / 435.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.2739, allocations: 1.545 MB / 436.6 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.2742, allocations: 63.69 kB / 436.7 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.2743, allocations: 19.98 kB / 436.7 MB, free: 48 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.0002413/0.2745, allocations: 149.7 kB / 436.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.2746, allocations: 27.8 kB / 436.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.193e-05/0.2746, allocations: 30.14 kB / 436.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.2746, allocations: 0 / 436.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.2746, allocations: 4 kB / 436.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.2746, allocations: 4 kB / 436.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.2763, allocations: 0.7565 MB / 437.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2763, allocations: 4 kB / 437.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.2766, allocations: 47.98 kB / 437.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.2768, allocations: 60.81 kB / 437.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.2768, allocations: 4 kB / 437.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.2789, allocations: 1.518 MB / 439.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2789, allocations: 8.125 kB / 439.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.2804, allocations: 0.5719 MB / 439.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.2804, allocations: 31.77 kB / 439.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.2805, allocations: 8 kB / 439.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.2808, allocations: 35.95 kB / 440 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.2808, allocations: 19.97 kB / 440 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.2809, allocations: 12.06 kB / 440 MB, free: 12.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002339/0.2811, allocations: 207.1 kB / 440.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2811, allocations: 0 / 440.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004677/0.2816, allocations: 83.84 kB / 440.3 MB, free: 12.27 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.001828/0.2834, allocations: 1.115 MB / 441.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.2844, allocations: 435.1 kB / 441.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2844, allocations: 0.6875 kB / 441.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004629/0.2849, allocations: 238.5 kB / 442.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.2853, allocations: 48.95 kB / 442.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007352/0.2926, allocations: 3.676 MB / 445.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.2931, allocations: 0.7639 MB / 446.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.2932, allocations: 34.95 kB / 446.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.2934, allocations: 91.41 kB / 446.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2934, allocations: 0 / 446.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05167/0.345, allocations: 7.47 MB / 454.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.83, allocations: 6.75 kB / 454.1 MB, free: 14.32 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.335598405999917]