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.001659/0.001659, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.00207/0.00207, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.442/1.442, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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.001576/0.001576, allocations: 47.94 kB / 371.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2471, allocations: 52.18 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009081/0.2562, allocations: 7.554 MB / 431.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.2699, allocations: 10.75 MB / 442.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.2712, allocations: 122.6 kB / 442.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.2731, allocations: 0.7138 MB / 443 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003723/0.2768, allocations: 1.21 MB / 444.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.2787, allocations: 0.6723 MB / 444.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004155/0.2829, allocations: 2.551 MB / 447.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.2833, allocations: 184.3 kB / 447.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006926/0.284, allocations: 0.521 MB / 448.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006686/0.2846, allocations: 0.5317 MB / 448.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.2847, allocations: 52 kB / 448.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.2864, allocations: 0.7688 MB / 449.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.2866, allocations: 186.8 kB / 449.7 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006935/0.2873, allocations: 0.6793 MB / 450.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002733/0.29, allocations: 1.952 MB / 452.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.29, allocations: 0 / 452.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.29, allocations: 0 / 452.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.302e-05/0.2901, allocations: 0 / 452.3 MB, free: 2.117 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.003177/0.2932, allocations: 1.983 MB / 454.3 MB, free: 96 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2933, allocations: 8.031 kB / 454.3 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.2935, allocations: 204.9 kB / 454.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/0.2956, allocations: 1.239 MB / 455.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.2957, allocations: 33 kB / 455.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.776e-05/0.2958, allocations: 51.95 kB / 455.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009583/0.2967, allocations: 0.5119 MB / 456.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.2968, allocations: 3.984 kB / 456.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.2968, allocations: 20 kB / 456.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.2968, allocations: 12 kB / 456.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009543/0.2978, allocations: 484 kB / 456.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/0.3012, allocations: 2.05 MB / 458.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000956/0.3022, allocations: 0.4963 MB / 459.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007421/0.3029, allocations: 465.4 kB / 459.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006895/0.3098, allocations: 2.604 MB / 462.4 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006069/0.3104, allocations: 290.1 kB / 462.7 MB, free: 7.469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=55): time 3.396e-06/0.3104, allocations: 0 / 462.7 MB, free: 7.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.003915/0.3144, allocations: 1.908 MB / 464.6 MB, free: 5.523 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.3144, allocations: 59.78 kB / 464.7 MB, free: 5.453 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.3161, allocations: 1.304 MB / 466 MB, free: 4.152 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.3161, allocations: 33.7 kB / 466 MB, free: 4.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006461/0.3168, allocations: 0.7157 MB / 466.7 MB, free: 3.391 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.317, allocations: 218.1 kB / 467 MB, free: 3.176 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.3171, allocations: 118.3 kB / 467.1 MB, free: 3.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3173, allocations: 330 kB / 467.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004346/0.3177, allocations: 201.5 kB / 467.6 MB, free: 2.531 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005595/0.3183, allocations: 367.7 kB / 468 MB, free: 2.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.3193, allocations: 0.5998 MB / 468.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.3193, allocations: 0 / 468.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001769/0.3211, allocations: 0.9285 MB / 469.5 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.3211, allocations: 8 kB / 469.5 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.57e-05/0.3212, allocations: 52 kB / 469.5 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004444/0.3217, allocations: 161.4 kB / 469.7 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/0.3221, allocations: 111.8 kB / 469.8 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/0.3251, allocations: 2.42 MB / 472.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005781/0.3257, allocations: 24.03 kB / 472.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.3258, allocations: 32 kB / 472.3 MB, free: 13.59 MB / 382.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.000481/0.3263, allocations: 281.6 kB / 472.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.3265, allocations: 186.9 kB / 472.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.3283, allocations: 0.8737 MB / 473.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.3283, allocations: 4 kB / 473.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3284, allocations: 4 kB / 473.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.3284, allocations: 3.984 kB / 473.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.3294, allocations: 0.8426 MB / 474.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.303e-05/0.3295, allocations: 59.98 kB / 474.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.3298, allocations: 63.89 kB / 474.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003906/0.3302, allocations: 140.8 kB / 474.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/0.3303, allocations: 19.98 kB / 474.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002941/0.3332, allocations: 2.398 MB / 477.1 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3332, allocations: 0 / 477.1 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.3353, allocations: 1.069 MB / 478.2 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/0.3357, allocations: 170.9 kB / 478.4 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.3358, allocations: 19.94 kB / 478.4 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.3362, allocations: 23.97 kB / 478.4 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.3363, allocations: 44.36 kB / 478.5 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.3363, allocations: 27.94 kB / 478.5 MB, free: 7.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001178/0.3375, allocations: 0.8578 MB / 479.3 MB, free: 6.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3375, allocations: 0 / 479.3 MB, free: 6.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001031/0.3386, allocations: 383.2 kB / 479.7 MB, free: 5.949 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.0007859/0.3393, allocations: 459.5 kB / 480.2 MB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.341, allocations: 0.8001 MB / 481 MB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3411, allocations: 8.938 kB / 481 MB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009616/0.342, allocations: 0.5474 MB / 481.5 MB, free: 4.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009446/0.343, allocations: 205.7 kB / 481.7 MB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.3468, allocations: 2.483 MB / 484.2 MB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007757/0.3476, allocations: 1.17 MB / 485.4 MB, free: 164 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.3478, allocations: 87.44 kB / 485.5 MB, free: 76 kB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3478, allocations: 0 / 485.5 MB, free: 76 kB / 382.1 MB Notification: Performance of Templates: time 0.03423/0.382, allocations: 24.19 MB / 0.4977 GB, free: 7.883 MB / 414.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/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: 8.535626098979264]