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.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.00152/0.00152, allocations: 116 kB / 18.45 MB, free: 4.625 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.001696/0.001696, allocations: 194.9 kB / 21.39 MB, free: 1.688 MB / 14.72 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 1.43/1.43, allocations: 207.6 MB / 231.8 MB, free: 4.082 MB / 174.1 MB " [Timeout remaining time 178] 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.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.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 51.92 kB / 342.2 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0916/0.09327, allocations: 49.11 MB / 391.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008402/0.1017, allocations: 7.385 MB / 398.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.1145, allocations: 10.42 MB / 409.2 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.1157, allocations: 79.31 kB / 409.2 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.1176, allocations: 0.6909 MB / 409.9 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003668/0.1212, allocations: 1.18 MB / 411.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.1231, allocations: 0.6661 MB / 411.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004211/0.1273, allocations: 2.502 MB / 414.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004555/0.1278, allocations: 180 kB / 414.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000762/0.1285, allocations: 477.6 kB / 414.9 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006973/0.1292, allocations: 0.5318 MB / 415.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.1293, allocations: 56 kB / 415.5 MB, free: 488 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.1311, allocations: 0.6909 MB / 416.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.1313, allocations: 182.8 kB / 416.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007854/0.1321, allocations: 0.6832 MB / 417.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.1352, allocations: 1.952 MB / 419 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1352, allocations: 0 / 419 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1352, allocations: 0 / 419 MB, free: 12.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.236e-05/0.1353, allocations: 0 / 419 MB, free: 12.96 MB / 350.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.003489/0.1388, allocations: 2.042 MB / 421.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1388, allocations: 8.031 kB / 421.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.1389, allocations: 86.7 kB / 421.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002763/0.1392, allocations: 207.7 kB / 421.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.1415, allocations: 1.358 MB / 422.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.1415, allocations: 37 kB / 422.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.972e-05/0.1416, allocations: 47.94 kB / 422.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009654/0.1426, allocations: 0.5119 MB / 423.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1426, allocations: 0 / 423.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/0.1426, allocations: 16 kB / 423.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.1427, allocations: 19.98 kB / 423.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000942/0.1436, allocations: 480.1 kB / 423.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.1471, allocations: 2.093 MB / 425.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.1481, allocations: 0.6541 MB / 426.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007362/0.1489, allocations: 461.8 kB / 427 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008705/0.1576, allocations: 6.513 MB / 433.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006431/0.1582, allocations: 290.5 kB / 433.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=55): time 2.615e-06/0.1582, allocations: 0 / 433.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.00382/0.162, allocations: 1.982 MB / 435.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.1621, allocations: 63.84 kB / 435.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.1637, allocations: 1.292 MB / 437.1 MB, free: 9.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.1638, allocations: 41.7 kB / 437.2 MB, free: 9.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006333/0.1644, allocations: 0.7196 MB / 437.9 MB, free: 8.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.1646, allocations: 210.2 kB / 438.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.1648, allocations: 126.3 kB / 438.2 MB, free: 8.395 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1649, allocations: 334 kB / 438.6 MB, free: 8.062 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.1653, allocations: 189.6 kB / 438.7 MB, free: 7.875 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005787/0.1659, allocations: 371.8 kB / 439.1 MB, free: 7.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002299/0.1682, allocations: 1.131 MB / 440.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.1682, allocations: 3.938 kB / 440.2 MB, free: 6.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001727/0.1699, allocations: 0.919 MB / 441.2 MB, free: 5.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.1699, allocations: 8 kB / 441.2 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.053e-05/0.17, allocations: 56 kB / 441.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004268/0.1705, allocations: 161.3 kB / 441.4 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.1709, allocations: 111.8 kB / 441.5 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003007/0.1739, allocations: 2.521 MB / 444 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.1744, allocations: 28.03 kB / 444 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/0.1745, allocations: 32 kB / 444.1 MB, free: 2.258 MB / 366.1 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.0005028/0.175, allocations: 277.6 kB / 444.3 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.1752, allocations: 194.8 kB / 444.5 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.177, allocations: 0.8787 MB / 445.4 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.177, allocations: 8 kB / 445.4 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.177, allocations: 0 / 445.4 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.177, allocations: 7.984 kB / 445.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.1782, allocations: 0.8747 MB / 446.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-05/0.1782, allocations: 52 kB / 446.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.1785, allocations: 63.88 kB / 446.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003754/0.1789, allocations: 152.9 kB / 446.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.179, allocations: 19.98 kB / 446.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002872/0.1818, allocations: 2.49 MB / 449.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1818, allocations: 0 / 449.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.1838, allocations: 1.077 MB / 450.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/0.1842, allocations: 255.9 kB / 450.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.1844, allocations: 12 kB / 450.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.1847, allocations: 15.98 kB / 450.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.1848, allocations: 48.38 kB / 450.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/0.1849, allocations: 23.98 kB / 450.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001159/0.186, allocations: 0.8539 MB / 451.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.186, allocations: 0 / 451.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009387/0.187, allocations: 391.1 kB / 451.7 MB, free: 10.34 MB / 382.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 (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.002876/0.1899, allocations: 1.97 MB / 453.7 MB, free: 8.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.1915, allocations: 0.8015 MB / 454.5 MB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1915, allocations: 0 / 454.5 MB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009874/0.1925, allocations: 0.5589 MB / 455.1 MB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008178/0.1933, allocations: 190.2 kB / 455.2 MB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1839/0.3772, allocations: 9.271 MB / 464.5 MB, free: 64.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.3778, allocations: 1.17 MB / 465.7 MB, free: 63.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004854/0.3783, allocations: 186.2 kB / 465.9 MB, free: 63.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/0.3787, allocations: 0.5733 MB / 466.4 MB, free: 63.8 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3787, allocations: 3.875 kB / 466.4 MB, free: 63.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06213/0.4409, allocations: 29.07 MB / 495.5 MB, free: 44.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.55, allocations: 4.062 kB / 495.5 MB, free: 44.55 MB / 382.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] Reference file matches [Calling sys.exit(0), Time elapsed: 16.51786826690659]