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.001303/0.001303, allocations: 81.3 kB / 20.68 MB, free: 1.035 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.001309/0.001309, allocations: 146.7 kB / 23.93 MB, free: 4.188 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.397/1.397, allocations: 173.4 MB / 200.4 MB, free: 12.91 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 1.223e-06/1.223e-06, allocations: 0 / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.116e-05, allocations: 6.219 kB / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.006012/0.006033, allocations: 6.458 MB / 325.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.01933, allocations: 9.297 MB / 334.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.02045, allocations: 121.1 kB / 334.8 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.02222, allocations: 0.6464 MB / 335.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003829/0.02605, allocations: 1.245 MB / 336.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.02798, allocations: 0.6878 MB / 337.4 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003991/0.03197, allocations: 2.618 MB / 340 MB, free: 5.625 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.03234, allocations: 183.9 kB / 340.2 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009287/0.03327, allocations: 0.7186 MB / 340.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005538/0.03382, allocations: 374.4 kB / 341.3 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.962e-05/0.03392, allocations: 54.31 kB / 341.3 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.03546, allocations: 0.6866 MB / 342 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.03564, allocations: 194.8 kB / 342.2 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004956/0.03613, allocations: 382.8 kB / 342.6 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.03854, allocations: 1.989 MB / 344.5 MB, free: 2.004 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.03855, allocations: 4 kB / 344.5 MB, free: 2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.03855, allocations: 3.938 kB / 344.6 MB, free: 1.996 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.03856, allocations: 0 / 344.6 MB, free: 1.996 MB / 302.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.002939/0.0415, allocations: 1.948 MB / 346.5 MB, free: 8 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.04154, allocations: 8.922 kB / 346.5 MB, free: 0 / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.0418, allocations: 206.2 kB / 346.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/0.04384, allocations: 1.239 MB / 347.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.04388, allocations: 29.38 kB / 348 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.04398, allocations: 57.83 kB / 348 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.045, allocations: 0.5119 MB / 348.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.04501, allocations: 0 / 348.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/0.04507, allocations: 16 kB / 348.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.04509, allocations: 19.98 kB / 348.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.04611, allocations: 476 kB / 349 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/0.04926, allocations: 1.861 MB / 350.9 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.05028, allocations: 0.4992 MB / 351.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008297/0.05111, allocations: 473.5 kB / 351.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006578/0.05769, allocations: 2.533 MB / 354.4 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006173/0.05831, allocations: 302.1 kB / 354.7 MB, free: 7.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=55): time 2.475e-06/0.05831, allocations: 0 / 354.7 MB, free: 7.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=59): time 0.00389/0.0622, allocations: 1.904 MB / 356.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.06225, allocations: 63.89 kB / 356.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.06386, allocations: 1.312 MB / 358 MB, free: 4.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/0.06391, allocations: 33.7 kB / 358 MB, free: 4.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000666/0.06457, allocations: 0.7157 MB / 358.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.06475, allocations: 206.2 kB / 358.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.06495, allocations: 126.3 kB / 359 MB, free: 3.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.0651, allocations: 330 kB / 359.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.06555, allocations: 193.6 kB / 359.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/0.06615, allocations: 371.8 kB / 359.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.06728, allocations: 0.6077 MB / 360.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.06728, allocations: 0 / 360.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001706/0.06899, allocations: 0.9138 MB / 361.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.06901, allocations: 7.984 kB / 361.5 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.972e-05/0.0691, allocations: 60 kB / 361.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004473/0.06955, allocations: 156 kB / 361.7 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.07004, allocations: 119.8 kB / 361.8 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/0.07319, allocations: 2.359 MB / 364.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/0.07366, allocations: 23.98 kB / 364.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/0.07373, allocations: 32 kB / 364.2 MB, free: 13.82 MB / 334.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.0004558/0.07418, allocations: 277.7 kB / 364.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.07441, allocations: 194.8 kB / 364.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.07638, allocations: 0.8858 MB / 365.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.07639, allocations: 4 kB / 365.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.0764, allocations: 4 kB / 365.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.0764, allocations: 3.938 kB / 365.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.0774, allocations: 0.7178 MB / 366.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.145e-05/0.07749, allocations: 52 kB / 366.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.07785, allocations: 59.95 kB / 366.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000423/0.07827, allocations: 148.8 kB / 366.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.591e-05/0.07832, allocations: 16 kB / 366.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/0.08127, allocations: 2.338 MB / 368.9 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.08127, allocations: 0 / 368.9 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.08337, allocations: 1.073 MB / 370 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.0837, allocations: 174.8 kB / 370.1 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.08385, allocations: 19.98 kB / 370.1 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.08424, allocations: 15.98 kB / 370.2 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.08437, allocations: 52.42 kB / 370.2 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-05/0.08442, allocations: 27.98 kB / 370.2 MB, free: 7.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001197/0.08562, allocations: 0.85 MB / 371.1 MB, free: 6.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08562, allocations: 0 / 371.1 MB, free: 6.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009712/0.08659, allocations: 387.2 kB / 371.5 MB, free: 6.367 MB / 334.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.0008135/0.0874, allocations: 487.5 kB / 371.9 MB, free: 5.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.08908, allocations: 0.7904 MB / 372.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.08908, allocations: 0 / 372.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.09014, allocations: 0.5512 MB / 373.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/0.09101, allocations: 210.3 kB / 373.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.09468, allocations: 2.33 MB / 375.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.0953, allocations: 0.5875 MB / 376.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004628/0.09576, allocations: 187.2 kB / 376.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.09592, allocations: 88.5 kB / 376.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.09592, allocations: 3.938 kB / 376.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of Templates: time 0.02833/0.1243, allocations: 13.68 MB / 390.4 MB, free: 3.445 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.715243224054575]