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.001864/0.001864, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002466/0.002466, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001597/0.001597, allocations: 51.91 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2338, allocations: 53.36 MB / 431.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007923/0.2417, allocations: 6.481 MB / 438 MB, free: 200 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.2544, allocations: 9.32 MB / 447.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009417/0.2554, allocations: 122.6 kB / 447.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.257, allocations: 0.6524 MB / 448.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.2602, allocations: 1.206 MB / 449.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.2617, allocations: 0.672 MB / 450 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003455/0.2652, allocations: 2.582 MB / 452.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.2655, allocations: 176.4 kB / 452.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005915/0.2661, allocations: 0.5093 MB / 453.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005976/0.2667, allocations: 0.5434 MB / 453.8 MB, free: 340 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.954e-05/0.2668, allocations: 56 kB / 453.9 MB, free: 284 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.2681, allocations: 0.7259 MB / 454.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.2683, allocations: 186.8 kB / 454.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004711/0.2687, allocations: 0.4929 MB / 455.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.271, allocations: 1.983 MB / 457.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.271, allocations: 4 kB / 457.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.271, allocations: 0 / 457.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.194e-05/0.271, allocations: 0 / 457.3 MB, free: 12.88 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.002921/0.2739, allocations: 1.967 MB / 459.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.2739, allocations: 11.97 kB / 459.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.2742, allocations: 211.7 kB / 459.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.2763, allocations: 1.244 MB / 460.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.2763, allocations: 32.94 kB / 460.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.867e-05/0.2764, allocations: 51.95 kB / 460.8 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009421/0.2773, allocations: 0.508 MB / 461.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.2774, allocations: 4 kB / 461.3 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/0.2774, allocations: 23.94 kB / 461.3 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.2774, allocations: 19.97 kB / 461.3 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009456/0.2784, allocations: 472.1 kB / 461.8 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003082/0.2815, allocations: 1.86 MB / 463.7 MB, free: 6.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009398/0.2824, allocations: 0.5029 MB / 464.2 MB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007381/0.2831, allocations: 469.3 kB / 464.6 MB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005009/0.2882, allocations: 2.28 MB / 466.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006261/0.2888, allocations: 305.6 kB / 467.2 MB, free: 2.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.835e-06/0.2888, allocations: 0 / 467.2 MB, free: 2.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004993/0.2938, allocations: 2.278 MB / 469.5 MB, free: 424 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.2938, allocations: 59.84 kB / 469.5 MB, free: 352 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.2954, allocations: 1.295 MB / 470.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.2955, allocations: 33.7 kB / 470.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006687/0.2962, allocations: 0.6963 MB / 471.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.2964, allocations: 238 kB / 471.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.2966, allocations: 122.3 kB / 471.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2967, allocations: 330 kB / 472.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.2972, allocations: 221.5 kB / 472.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/0.2978, allocations: 360.4 kB / 472.8 MB, free: 13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.2988, allocations: 0.6164 MB / 473.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2988, allocations: 0 / 473.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001741/0.3006, allocations: 0.9677 MB / 474.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3006, allocations: 8 kB / 474.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.3007, allocations: 67.98 kB / 474.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004985/0.3012, allocations: 180.2 kB / 474.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.3017, allocations: 115.8 kB / 474.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/0.3051, allocations: 2.597 MB / 477.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.3055, allocations: 31.97 kB / 477.4 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/0.3056, allocations: 31.98 kB / 477.4 MB, free: 8.227 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.000405/0.306, allocations: 269.7 kB / 477.7 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.3062, allocations: 190.9 kB / 477.9 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.3082, allocations: 0.9735 MB / 478.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3082, allocations: 7.938 kB / 478.8 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3082, allocations: 4 kB / 478.8 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.3082, allocations: 3.984 kB / 478.8 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009485/0.3092, allocations: 0.7296 MB / 479.6 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.962e-05/0.3093, allocations: 63.98 kB / 479.6 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.3096, allocations: 67.83 kB / 479.7 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004354/0.31, allocations: 170.4 kB / 479.9 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/0.3101, allocations: 31.98 kB / 479.9 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003293/0.3134, allocations: 2.593 MB / 482.5 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3134, allocations: 0 / 482.5 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.3155, allocations: 1.185 MB / 483.7 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/0.3159, allocations: 182.8 kB / 483.9 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.316, allocations: 12 kB / 483.9 MB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.3164, allocations: 19.97 kB / 483.9 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.3165, allocations: 60.2 kB / 483.9 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.3166, allocations: 23.98 kB / 484 MB, free: 1.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001071/0.3177, allocations: 0.8534 MB / 484.8 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3177, allocations: 0 / 484.8 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008971/0.3186, allocations: 395.2 kB / 485.2 MB, free: 260 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.0007441/0.3193, allocations: 463.8 kB / 485.7 MB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.321, allocations: 0.8748 MB / 486.5 MB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.321, allocations: 0 / 486.5 MB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.3221, allocations: 0.6118 MB / 487.1 MB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.323, allocations: 216.8 kB / 487.4 MB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/0.3268, allocations: 2.462 MB / 489.8 MB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.3274, allocations: 0.5876 MB / 490.4 MB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000454/0.3279, allocations: 179.2 kB / 490.6 MB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.3281, allocations: 87.42 kB / 490.7 MB, free: 10.64 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3281, allocations: 3.938 kB / 490.7 MB, free: 10.64 MB / 398.1 MB Notification: Performance of Templates: time 0.03134/0.3594, allocations: 16.56 MB / 0.4953 GB, free: 10.18 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/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.030222595203668]