Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.000874/0.000874, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00418/0.00418, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8332/0.8332, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.443e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.1235/0.1235, allocations: 6.338 MB / 304.8 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007861/0.1314, allocations: 9.009 MB / 313.8 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.1324, allocations: 120.6 kB / 313.9 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.1338, allocations: 0.6433 MB / 314.5 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003076/0.1368, allocations: 1.227 MB / 315.8 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.1385, allocations: 0.6712 MB / 316.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0029/0.1414, allocations: 2.579 MB / 319 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.1417, allocations: 173.7 kB / 319.2 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008947/0.1426, allocations: 0.6817 MB / 319.9 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.143, allocations: 367.1 kB / 320.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.489e-05/0.1431, allocations: 54.25 kB / 320.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.1446, allocations: 0.6611 MB / 320.9 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1447, allocations: 186.5 kB / 321.1 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.1451, allocations: 381.3 kB / 321.5 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.147, allocations: 1.991 MB / 323.5 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.147, allocations: 0 / 323.5 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1471, allocations: 0 / 323.5 MB, free: 2.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.1471, allocations: 5.156 kB / 323.5 MB, free: 2.215 MB / 282.7 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.001903/0.149, allocations: 1.948 MB / 325.4 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.149, allocations: 15.36 kB / 325.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/0.1491, allocations: 90.31 kB / 325.5 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.1492, allocations: 206.9 kB / 325.7 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.1506, allocations: 1.228 MB / 327 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.1506, allocations: 37.84 kB / 327 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.937e-05/0.1507, allocations: 48.47 kB / 327.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.1514, allocations: 0.5124 MB / 327.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1514, allocations: 4 kB / 327.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.1514, allocations: 15.28 kB / 327.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.1514, allocations: 19.95 kB / 327.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006222/0.1521, allocations: 480.1 kB / 328.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.1542, allocations: 1.931 MB / 330 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.1548, allocations: 0.5081 MB / 330.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004786/0.1553, allocations: 473.3 kB / 331 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0039/0.1592, allocations: 2.526 MB / 333.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003861/0.1596, allocations: 298.1 kB / 333.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=55): time 2.966e-06/0.1596, allocations: 0 / 333.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=59): time 0.002397/0.162, allocations: 1.893 MB / 335.7 MB, free: 9.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.1621, allocations: 59.91 kB / 335.7 MB, free: 9.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.1632, allocations: 1.308 MB / 337.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.1632, allocations: 33.7 kB / 337.1 MB, free: 7.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/0.1636, allocations: 0.7157 MB / 337.8 MB, free: 6.992 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.1637, allocations: 210.2 kB / 338 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.1638, allocations: 122.3 kB / 338.1 MB, free: 6.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.1639, allocations: 334 kB / 338.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.1642, allocations: 201.5 kB / 338.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.1645, allocations: 355.9 kB / 339 MB, free: 5.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.1659, allocations: 1.136 MB / 340.1 MB, free: 4.508 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.1659, allocations: 4.625 kB / 340.1 MB, free: 4.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001056/0.167, allocations: 0.9249 MB / 341.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.167, allocations: 8 kB / 341.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.315e-05/0.167, allocations: 60.56 kB / 341.1 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004612/0.1675, allocations: 161.3 kB / 341.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.1678, allocations: 107.9 kB / 341.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.1698, allocations: 2.393 MB / 343.8 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/0.1702, allocations: 24.03 kB / 343.8 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.1703, allocations: 39.94 kB / 343.9 MB, free: 0.6719 MB / 298.7 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real T1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 54 * 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,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004491/0.1707, allocations: 277.7 kB / 344.1 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.1709, allocations: 194.8 kB / 344.3 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.172, allocations: 0.8724 MB / 345.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.172, allocations: 8 kB / 345.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.172, allocations: 3.938 kB / 345.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.172, allocations: 4 kB / 345.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007584/0.1728, allocations: 0.7774 MB / 346 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.623e-05/0.1729, allocations: 59.92 kB / 346 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.173, allocations: 63.89 kB / 346.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002571/0.1733, allocations: 139.7 kB / 346.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.1733, allocations: 23.98 kB / 346.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.1753, allocations: 2.359 MB / 348.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1753, allocations: 4 kB / 348.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.1766, allocations: 1.069 MB / 349.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003092/0.1769, allocations: 178.9 kB / 349.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.177, allocations: 8 kB / 349.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.1772, allocations: 21.8 kB / 349.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.1773, allocations: 48.42 kB / 349.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.1773, allocations: 23.98 kB / 350 MB, free: 10.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000868/0.1782, allocations: 0.8656 MB / 350.8 MB, free: 9.504 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1782, allocations: 0 / 350.8 MB, free: 9.504 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008197/0.179, allocations: 375.2 kB / 351.2 MB, free: 9.137 MB / 314.7 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 (30): * Single equations (assignments): 24 * 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,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001958/0.181, allocations: 2.012 MB / 353.2 MB, free: 7.086 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.182, allocations: 0.8058 MB / 354 MB, free: 6.258 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.182, allocations: 3.938 kB / 354 MB, free: 6.254 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.1826, allocations: 0.5437 MB / 354.6 MB, free: 5.684 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.1831, allocations: 191.2 kB / 354.8 MB, free: 5.504 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009808/0.1929, allocations: 9.184 MB / 363.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.1933, allocations: 0.5914 MB / 364.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003555/0.1937, allocations: 183.2 kB / 364.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/0.1941, allocations: 0.5745 MB / 365.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of SimCode: time 2.364e-06/0.1941, allocations: 4 kB / 365.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05037/0.2445, allocations: 30.49 MB / 395.8 MB, free: 12 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/8.632, allocations: 7.875 kB / 395.8 MB, free: 11.99 MB / 362.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,T1.vbe,T2.vbe Variables in the result:time,T1.vbe,T1.vbx,T2.vbe,T2.vbx [Calling sys.exit(0), Time elapsed: 10.403467372991145]