Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.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.001325/0.001325, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.0014/0.0014, allocations: 207.5 kB / 23.73 MB, free: 4.379 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.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 43.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2363, allocations: 53.37 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008219/0.2445, allocations: 6.473 MB / 437.5 MB, free: 132 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.2582, allocations: 9.328 MB / 446.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.2592, allocations: 122.6 kB / 447 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.2611, allocations: 0.6442 MB / 447.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.2647, allocations: 1.206 MB / 448.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.2665, allocations: 0.6759 MB / 449.5 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003937/0.2705, allocations: 2.574 MB / 452.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.2708, allocations: 184.3 kB / 452.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006917/0.2715, allocations: 0.5132 MB / 452.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000627/0.2721, allocations: 0.5356 MB / 453.3 MB, free: 268 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.2722, allocations: 56 kB / 453.4 MB, free: 212 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.2738, allocations: 0.722 MB / 454.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.274, allocations: 186.8 kB / 454.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005221/0.2745, allocations: 0.5006 MB / 454.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.2769, allocations: 1.984 MB / 456.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2769, allocations: 0 / 456.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2769, allocations: 0 / 456.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.2769, allocations: 3.938 kB / 456.8 MB, free: 12.8 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003099/0.28, allocations: 1.971 MB / 458.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.28, allocations: 11.97 kB / 458.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.2801, allocations: 86.7 kB / 458.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.2804, allocations: 211.7 kB / 459 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.2825, allocations: 1.244 MB / 460.3 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.2826, allocations: 29 kB / 460.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.2827, allocations: 51.95 kB / 460.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009869/0.2837, allocations: 0.5119 MB / 460.9 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.2837, allocations: 0 / 460.9 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.2837, allocations: 20 kB / 460.9 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.2837, allocations: 15.98 kB / 460.9 MB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.2848, allocations: 480 kB / 461.4 MB, free: 8.078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.288, allocations: 1.941 MB / 463.3 MB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.2891, allocations: 0.4987 MB / 463.8 MB, free: 5.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007795/0.2898, allocations: 478 kB / 464.3 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005317/0.2952, allocations: 2.272 MB / 466.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006513/0.2958, allocations: 313.5 kB / 466.9 MB, free: 2.465 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.555e-06/0.2958, allocations: 4 kB / 466.9 MB, free: 2.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005164/0.301, allocations: 2.266 MB / 469.1 MB, free: 160 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.301, allocations: 59.84 kB / 469.2 MB, free: 88 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.3027, allocations: 1.299 MB / 470.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.3027, allocations: 33.7 kB / 470.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006823/0.3034, allocations: 0.6964 MB / 471.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.3036, allocations: 238 kB / 471.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.3038, allocations: 122.3 kB / 471.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.304, allocations: 330 kB / 471.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004901/0.3045, allocations: 217.6 kB / 472.1 MB, free: 13.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.3051, allocations: 360.4 kB / 472.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.3062, allocations: 0.6164 MB / 473.1 MB, free: 12.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.3062, allocations: 3.938 kB / 473.1 MB, free: 12.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001807/0.308, allocations: 0.9677 MB / 474.1 MB, free: 11.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.308, allocations: 8 kB / 474.1 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.3081, allocations: 67.98 kB / 474.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005302/0.3087, allocations: 185.2 kB / 474.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.3091, allocations: 111.8 kB / 474.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/0.3127, allocations: 2.629 MB / 477 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.3132, allocations: 24.03 kB / 477.1 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.335e-05/0.3133, allocations: 35.98 kB / 477.1 MB, free: 7.922 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000454/0.3137, allocations: 269.7 kB / 477.4 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.3139, allocations: 186.9 kB / 477.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.316, allocations: 0.9774 MB / 478.5 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.316, allocations: 4 kB / 478.5 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.316, allocations: 4 kB / 478.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.316, allocations: 3.984 kB / 478.5 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.3171, allocations: 0.7998 MB / 479.3 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.866e-05/0.3172, allocations: 64 kB / 479.4 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.3175, allocations: 63.95 kB / 479.5 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004676/0.318, allocations: 174.9 kB / 479.6 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/0.318, allocations: 27.92 kB / 479.7 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003462/0.3215, allocations: 2.627 MB / 482.3 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3215, allocations: 3.938 kB / 482.3 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/0.3237, allocations: 1.181 MB / 483.5 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/0.3242, allocations: 182.8 kB / 483.7 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.3243, allocations: 15.94 kB / 483.7 MB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.3247, allocations: 23.97 kB / 483.7 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.3248, allocations: 48.55 kB / 483.7 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.122e-05/0.3249, allocations: 27.98 kB / 483.8 MB, free: 1.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001162/0.326, allocations: 0.8535 MB / 484.6 MB, free: 220 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.326, allocations: 0 / 484.6 MB, free: 220 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009814/0.327, allocations: 395.2 kB / 485 MB, free: 15.82 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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): 1 system {(4,17,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003238/0.3302, allocations: 2.084 MB / 487.1 MB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001869/0.3321, allocations: 0.8747 MB / 488 MB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3321, allocations: 0 / 488 MB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.3332, allocations: 0.616 MB / 488.6 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009092/0.3342, allocations: 210.1 kB / 488.8 MB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.3482, allocations: 9.438 MB / 498.2 MB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006252/0.3489, allocations: 0.5877 MB / 498.8 MB, free: 1.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000498/0.3494, allocations: 187.2 kB / 499 MB, free: 1.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006672/0.35, allocations: 0.5657 MB / 499.6 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.35, allocations: 0 / 499.6 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07613/0.4261, allocations: 31.41 MB / 0.5185 GB, free: 1.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.33, allocations: 3.125 kB / 0.5185 GB, free: 1.699 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.csv --start-time 0 --stop-time 0.025 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.998e-06 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Oscillator.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.079454435006483]