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.000842/0.000842, allocations: 87.62 kB / 21.44 MB, free: 3.125 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.006793/0.006793, allocations: 158.3 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.9185/0.9185, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.665e-05, allocations: 4.531 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.004742/0.004769, allocations: 6.489 MB / 332.3 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008511/0.01328, allocations: 9.332 MB / 341.6 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.01449, allocations: 122.6 kB / 341.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.01586, allocations: 0.65 MB / 342.4 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002627/0.01849, allocations: 1.248 MB / 343.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.01965, allocations: 0.6758 MB / 344.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002356/0.02201, allocations: 2.648 MB / 347 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000294/0.0223, allocations: 172.4 kB / 347.2 MB, free: 9.973 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006704/0.02297, allocations: 0.7246 MB / 347.9 MB, free: 9.246 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.0233, allocations: 370.6 kB / 348.2 MB, free: 8.883 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.384e-05/0.02337, allocations: 56 kB / 348.3 MB, free: 8.828 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008795/0.02425, allocations: 0.6985 MB / 349 MB, free: 8.129 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.532e-05/0.02434, allocations: 186.8 kB / 349.2 MB, free: 7.945 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.02463, allocations: 386.8 kB / 349.6 MB, free: 7.566 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.02616, allocations: 1.997 MB / 351.5 MB, free: 5.562 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.02616, allocations: 0 / 351.5 MB, free: 5.562 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.02616, allocations: 0 / 351.5 MB, free: 5.562 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.02617, allocations: 0 / 351.5 MB, free: 5.562 MB / 314.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.001602/0.02777, allocations: 1.954 MB / 353.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.02781, allocations: 8.031 kB / 353.5 MB, free: 3.562 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.02795, allocations: 207.7 kB / 353.7 MB, free: 3.359 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.02913, allocations: 1.239 MB / 355 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.02915, allocations: 33.38 kB / 355 MB, free: 2.031 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.02921, allocations: 48.38 kB / 355 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/0.02976, allocations: 0.508 MB / 355.5 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.02977, allocations: 4 kB / 355.5 MB, free: 1.469 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.0298, allocations: 19.98 kB / 355.6 MB, free: 1.449 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.02981, allocations: 15.94 kB / 355.6 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000527/0.03034, allocations: 480.1 kB / 356 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.03223, allocations: 1.868 MB / 357.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.03275, allocations: 0.5031 MB / 358.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/0.03316, allocations: 477.3 kB / 358.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002568/0.03573, allocations: 2.257 MB / 361.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003536/0.03609, allocations: 314 kB / 361.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=61): time 2.295e-06/0.03609, allocations: 0 / 361.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.002737/0.03883, allocations: 2.279 MB / 363.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.03886, allocations: 63.84 kB / 363.8 MB, free: 9.051 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.03986, allocations: 1.288 MB / 365.1 MB, free: 7.766 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.03989, allocations: 37.64 kB / 365.1 MB, free: 7.723 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.04026, allocations: 0.708 MB / 365.8 MB, free: 7.012 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.04036, allocations: 230 kB / 366 MB, free: 6.785 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.04047, allocations: 122.3 kB / 366.2 MB, free: 6.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.382e-05/0.04054, allocations: 330 kB / 366.5 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.04079, allocations: 217.5 kB / 366.7 MB, free: 6.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.0411, allocations: 360.5 kB / 367.1 MB, free: 5.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.04167, allocations: 0.6165 MB / 367.7 MB, free: 5.047 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.04167, allocations: 0 / 367.7 MB, free: 5.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009202/0.04259, allocations: 0.9759 MB / 368.6 MB, free: 4.059 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.04261, allocations: 8 kB / 368.7 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.878e-05/0.04266, allocations: 60 kB / 368.7 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003048/0.04296, allocations: 184.8 kB / 368.9 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.04319, allocations: 107.8 kB / 369 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.0451, allocations: 2.586 MB / 371.6 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.04531, allocations: 35.95 kB / 371.6 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.04534, allocations: 32 kB / 371.7 MB, free: 0.9531 MB / 330.7 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.0003931/0.04574, allocations: 280.8 kB / 371.9 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.04584, allocations: 190.8 kB / 372.1 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.04691, allocations: 0.9625 MB / 373.1 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.04691, allocations: 4 kB / 373.1 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.04691, allocations: 8 kB / 373.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.04692, allocations: 7.969 kB / 373.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005559/0.04748, allocations: 0.7332 MB / 373.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.583e-05/0.04752, allocations: 60 kB / 373.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.04767, allocations: 71.88 kB / 374 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/0.04793, allocations: 172.6 kB / 374.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.04796, allocations: 20 kB / 374.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.04977, allocations: 2.601 MB / 376.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.04978, allocations: 3.938 kB / 376.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.05092, allocations: 1.177 MB / 377.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.0511, allocations: 186.8 kB / 378.1 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.05117, allocations: 15.94 kB / 378.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.05134, allocations: 23.98 kB / 378.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/0.05142, allocations: 52.41 kB / 378.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.05145, allocations: 23.98 kB / 378.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006228/0.05207, allocations: 0.8535 MB / 379.1 MB, free: 9.355 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05207, allocations: 0 / 379.1 MB, free: 9.355 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000729/0.0528, allocations: 387.2 kB / 379.5 MB, free: 8.977 MB / 346.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 (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.0005287/0.05333, allocations: 491.5 kB / 379.9 MB, free: 8.484 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009612/0.05429, allocations: 0.8676 MB / 380.8 MB, free: 7.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.0543, allocations: 3.938 kB / 380.8 MB, free: 7.586 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005309/0.05483, allocations: 0.6203 MB / 381.4 MB, free: 6.938 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.05532, allocations: 214.2 kB / 381.6 MB, free: 6.727 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.05734, allocations: 2.386 MB / 384 MB, free: 4.297 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.05765, allocations: 0.5838 MB / 384.6 MB, free: 3.676 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.05774, allocations: 88.5 kB / 384.7 MB, free: 3.59 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.05774, allocations: 4 kB / 384.7 MB, free: 3.586 MB / 346.7 MB Notification: Performance of Templates: time 0.01787/0.07561, allocations: 25.12 MB / 409.8 MB, free: 10.46 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/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: 5.58798951189965]