Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001506/0.001506, allocations: 115.4 kB / 18.41 MB, free: 4.652 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.001556/0.001556, allocations: 192.3 kB / 21.35 MB, free: 1.723 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.359/1.359, allocations: 222.9 MB / 247 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 51.91 kB / 358.7 MB, free: 8.336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09105/0.09268, allocations: 49.43 MB / 408.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009057/0.1018, allocations: 7.504 MB / 415.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01351/0.1153, allocations: 10.7 MB / 426.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008076/0.1161, allocations: 79.31 kB / 426.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.1177, allocations: 0.7101 MB / 427.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002816/0.1206, allocations: 1.18 MB / 428.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.122, allocations: 0.6739 MB / 428.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1743/0.2964, allocations: 2.529 MB / 431.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004582/0.2969, allocations: 285.9 kB / 431.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005761/0.2975, allocations: 489.5 kB / 432.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.2979, allocations: 0.5413 MB / 432.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.559e-05/0.298, allocations: 56.47 kB / 432.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.2996, allocations: 0.7618 MB / 433.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.2998, allocations: 185.5 kB / 433.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004713/0.3002, allocations: 0.6823 MB / 434.4 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.3027, allocations: 1.95 MB / 436.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3027, allocations: 0 / 436.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3028, allocations: 1.844 kB / 436.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.037e-05/0.3028, allocations: 0.75 kB / 436.4 MB, free: 5.742 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.002886/0.3057, allocations: 2.046 MB / 438.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3057, allocations: 9.188 kB / 438.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.306, allocations: 208.6 kB / 438.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.3078, allocations: 1.359 MB / 440 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.3078, allocations: 31.23 kB / 440 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.551e-05/0.3079, allocations: 53.56 kB / 440.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009193/0.3088, allocations: 0.5095 MB / 440.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3089, allocations: 1.531 kB / 440.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.3089, allocations: 14.62 kB / 440.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.309, allocations: 17.25 kB / 440.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008978/0.3099, allocations: 478 kB / 441.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002848/0.3127, allocations: 2.093 MB / 443.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000953/0.3137, allocations: 0.7107 MB / 443.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007575/0.3144, allocations: 0.5175 MB / 444.4 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007875/0.3223, allocations: 6.525 MB / 451 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006/0.323, allocations: 295.5 kB / 451.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=55): time 3.828e-06/0.323, allocations: 0 / 451.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.004014/0.327, allocations: 1.983 MB / 453.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.3271, allocations: 66.45 kB / 453.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.3289, allocations: 1.297 MB / 454.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.787e-05/0.3289, allocations: 35.55 kB / 454.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006137/0.3296, allocations: 0.7179 MB / 455.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.3298, allocations: 217.5 kB / 455.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.33, allocations: 128.4 kB / 455.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3301, allocations: 328.1 kB / 456 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.3306, allocations: 202.9 kB / 456.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.3312, allocations: 362.4 kB / 456.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.3322, allocations: 0.5996 MB / 457.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3322, allocations: 1.188 kB / 457.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001743/0.3339, allocations: 0.9221 MB / 458.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.334, allocations: 7.031 kB / 458.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.372e-05/0.3341, allocations: 60.92 kB / 458.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004659/0.3345, allocations: 161.1 kB / 458.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.335, allocations: 112.6 kB / 458.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00334/0.3384, allocations: 2.52 MB / 460.9 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/0.3392, allocations: 24.73 kB / 460.9 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.843e-05/0.3393, allocations: 39.34 kB / 461 MB, free: 9.508 MB / 366.1 MB 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.0006013/0.3399, allocations: 273.6 kB / 461.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.3401, allocations: 191.1 kB / 461.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.3421, allocations: 0.8863 MB / 462.3 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.3421, allocations: 5.719 kB / 462.3 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3421, allocations: 3.188 kB / 462.3 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3421, allocations: 1.828 kB / 462.3 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.3433, allocations: 0.8643 MB / 463.2 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.066e-05/0.3434, allocations: 60.66 kB / 463.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.3437, allocations: 58.23 kB / 463.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003666/0.3441, allocations: 155.7 kB / 463.5 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.3441, allocations: 21 kB / 463.5 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002948/0.3471, allocations: 2.502 MB / 466 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3471, allocations: 0 / 466 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.3491, allocations: 1.072 MB / 467.1 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/0.3496, allocations: 259.6 kB / 467.3 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.3497, allocations: 13.61 kB / 467.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.3501, allocations: 19.62 kB / 467.4 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3502, allocations: 44.42 kB / 467.4 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.3503, allocations: 24.39 kB / 467.4 MB, free: 5.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001121/0.3514, allocations: 0.8603 MB / 468.3 MB, free: 5.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3514, allocations: 3.938 kB / 468.3 MB, free: 5.266 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001133/0.3526, allocations: 377.5 kB / 468.7 MB, free: 5.199 MB / 366.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.0007705/0.3533, allocations: 465.3 kB / 469.1 MB, free: 5.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.355, allocations: 0.845 MB / 470 MB, free: 4.609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.355, allocations: 0 / 470 MB, free: 4.609 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009736/0.356, allocations: 0.5864 MB / 470.5 MB, free: 4.238 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009153/0.3569, allocations: 204 kB / 470.7 MB, free: 4.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.3606, allocations: 2.478 MB / 473.2 MB, free: 2.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007943/0.3614, allocations: 1.17 MB / 474.4 MB, free: 1.176 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.3616, allocations: 87.44 kB / 474.5 MB, free: 1.09 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3616, allocations: 0 / 474.5 MB, free: 1.09 MB / 366.1 MB Notification: Performance of Templates: time 0.03532/0.3969, allocations: 24.14 MB / 498.6 MB, free: 8.988 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.631665160064586]