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.001855/0.001855, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002275/0.002275, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001636/0.001636, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2332, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008216/0.2414, allocations: 6.489 MB / 438.8 MB, free: 212 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.2546, allocations: 9.32 MB / 448.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.2558, allocations: 126.6 kB / 448.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.2579, allocations: 0.6451 MB / 448.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003753/0.2617, allocations: 1.202 MB / 450.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.2636, allocations: 0.6798 MB / 450.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004143/0.2678, allocations: 2.571 MB / 453.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003689/0.2682, allocations: 168.3 kB / 453.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006827/0.2688, allocations: 0.5132 MB / 454 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006273/0.2695, allocations: 0.5121 MB / 454.5 MB, free: 400 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.2696, allocations: 56 kB / 454.6 MB, free: 344 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.2712, allocations: 0.683 MB / 455.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.2714, allocations: 182.8 kB / 455.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005569/0.2719, allocations: 0.5084 MB / 456 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.2745, allocations: 1.98 MB / 457.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2745, allocations: 0 / 457.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2745, allocations: 0 / 457.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.397e-05/0.2746, allocations: 8 kB / 458 MB, free: 12.96 MB / 366.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.003197/0.2778, allocations: 1.959 MB / 459.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2778, allocations: 12.03 kB / 459.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002635/0.2781, allocations: 211.6 kB / 460.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.2803, allocations: 1.24 MB / 461.4 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.2803, allocations: 40.94 kB / 461.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.2804, allocations: 43.95 kB / 461.5 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.2814, allocations: 0.5119 MB / 462 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.2814, allocations: 0 / 462 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.2815, allocations: 19.98 kB / 462 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.2815, allocations: 20 kB / 462 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009954/0.2825, allocations: 472.1 kB / 462.5 MB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/0.2857, allocations: 1.86 MB / 464.3 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009875/0.2867, allocations: 0.5068 MB / 464.8 MB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000748/0.2875, allocations: 469.3 kB / 465.3 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005362/0.2928, allocations: 2.276 MB / 467.6 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006414/0.2935, allocations: 309.6 kB / 467.9 MB, free: 2.828 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 3.006e-06/0.2935, allocations: 3.938 kB / 467.9 MB, free: 2.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005264/0.2988, allocations: 2.274 MB / 470.1 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.2988, allocations: 59.78 kB / 470.2 MB, free: 452 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.3004, allocations: 1.295 MB / 471.5 MB, free: 15.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.3005, allocations: 37.7 kB / 471.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006589/0.3012, allocations: 0.7041 MB / 472.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.3014, allocations: 226 kB / 472.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.3016, allocations: 122.3 kB / 472.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3017, allocations: 334 kB / 472.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.3022, allocations: 217.5 kB / 473.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.3028, allocations: 360.5 kB / 473.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.3038, allocations: 0.6164 MB / 474.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3038, allocations: 0 / 474.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001816/0.3057, allocations: 0.9756 MB / 475.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3057, allocations: 11.94 kB / 475.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/0.3058, allocations: 60 kB / 475.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/0.3063, allocations: 185.1 kB / 475.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.3067, allocations: 107.8 kB / 475.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003501/0.3102, allocations: 2.598 MB / 478 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005704/0.3108, allocations: 35.95 kB / 478.1 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/0.3109, allocations: 28 kB / 478.1 MB, free: 8.32 MB / 382.1 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.0004687/0.3113, allocations: 271.2 kB / 478.3 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.3116, allocations: 186.9 kB / 478.5 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.3137, allocations: 0.9735 MB / 479.5 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.3137, allocations: 8 kB / 479.5 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.3137, allocations: 0 / 479.5 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.3137, allocations: 7.984 kB / 479.5 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.3148, allocations: 0.7296 MB / 480.2 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.176e-05/0.3149, allocations: 56 kB / 480.3 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.3152, allocations: 79.81 kB / 480.4 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/0.3157, allocations: 171 kB / 480.5 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.3157, allocations: 20 kB / 480.6 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.3191, allocations: 2.608 MB / 483.2 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3191, allocations: 0 / 483.2 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.3214, allocations: 1.181 MB / 484.4 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004658/0.3219, allocations: 186.8 kB / 484.5 MB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.322, allocations: 8 kB / 484.5 MB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.3224, allocations: 23.98 kB / 484.6 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.3225, allocations: 52.25 kB / 484.6 MB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.462e-05/0.3226, allocations: 27.98 kB / 484.6 MB, free: 1.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001188/0.3238, allocations: 0.8573 MB / 485.5 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3238, allocations: 0 / 485.5 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009937/0.3248, allocations: 387.2 kB / 485.9 MB, free: 360 kB / 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 (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.0008311/0.3256, allocations: 463.6 kB / 486.3 MB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001865/0.3275, allocations: 0.8742 MB / 487.2 MB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3275, allocations: 0 / 487.2 MB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.3286, allocations: 0.6124 MB / 487.8 MB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3297, allocations: 210.1 kB / 488 MB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/0.3336, allocations: 2.515 MB / 490.5 MB, free: 11.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.3342, allocations: 0.5838 MB / 491.1 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.3344, allocations: 87.44 kB / 491.2 MB, free: 10.88 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3344, allocations: 0 / 491.2 MB, free: 10.88 MB / 398.1 MB Notification: Performance of Templates: time 0.03451/0.3689, allocations: 25.11 MB / 0.5042 GB, free: 1.766 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/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: 8.887036717031151]