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.001259/0.001259, allocations: 113 kB / 19.04 MB, free: 3.254 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.00128/0.00128, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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 / 250.8 MB, free: 13.35 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: 55.91 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2376, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008591/0.2462, allocations: 7.541 MB / 428.4 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01375/0.2599, allocations: 10.76 MB / 439.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.261, allocations: 79.31 kB / 439.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.2627, allocations: 0.7036 MB / 439.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003423/0.2661, allocations: 1.2 MB / 441.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.2678, allocations: 0.6701 MB / 441.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003816/0.2716, allocations: 2.545 MB / 444.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.272, allocations: 187.9 kB / 444.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006343/0.2726, allocations: 0.4937 MB / 445 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000611/0.2732, allocations: 0.5356 MB / 445.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.33e-05/0.2733, allocations: 56 kB / 445.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.2751, allocations: 0.7688 MB / 446.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.2753, allocations: 182.8 kB / 446.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006112/0.2759, allocations: 0.6793 MB / 447.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.2786, allocations: 1.948 MB / 449.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2786, allocations: 0 / 449.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2786, allocations: 0 / 449.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.311e-05/0.2787, allocations: 4 kB / 449.2 MB, free: 2.629 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.003175/0.2818, allocations: 2.05 MB / 451.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.2819, allocations: 8.031 kB / 451.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/0.2822, allocations: 203.7 kB / 451.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.2846, allocations: 1.358 MB / 452.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.2846, allocations: 29 kB / 452.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002642/0.2849, allocations: 48 kB / 452.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.286, allocations: 0.5197 MB / 453.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2861, allocations: 0 / 453.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.737e-05/0.2861, allocations: 16 kB / 453.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.2861, allocations: 16 kB / 453.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.2871, allocations: 472.1 kB / 453.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003435/0.2906, allocations: 2.097 MB / 456 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.2917, allocations: 0.6469 MB / 456.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007605/0.2924, allocations: 469.7 kB / 457.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009236/0.3017, allocations: 6.517 MB / 463.6 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006419/0.3023, allocations: 298.5 kB / 463.9 MB, free: 2.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=55): time 2.614e-06/0.3023, allocations: 0 / 463.9 MB, free: 2.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.004098/0.3064, allocations: 1.982 MB / 465.9 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.3065, allocations: 55.84 kB / 466 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.3082, allocations: 1.3 MB / 467.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.3082, allocations: 33.7 kB / 467.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007207/0.3089, allocations: 0.7273 MB / 468 MB, free: 14.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.3092, allocations: 214.2 kB / 468.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.3094, allocations: 122.3 kB / 468.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002439/0.3096, allocations: 334 kB / 468.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.3101, allocations: 197.5 kB / 468.9 MB, free: 13.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006788/0.3108, allocations: 375.2 kB / 469.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.3118, allocations: 0.5947 MB / 469.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.949e-05/0.3119, allocations: 7.938 kB / 469.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001839/0.3137, allocations: 0.9154 MB / 470.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.3137, allocations: 8 kB / 470.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.546e-05/0.3138, allocations: 56 kB / 470.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004777/0.3143, allocations: 157.1 kB / 471 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.3148, allocations: 107.8 kB / 471.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003499/0.3183, allocations: 2.529 MB / 473.6 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005948/0.3189, allocations: 24.03 kB / 473.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-05/0.3189, allocations: 36 kB / 473.7 MB, free: 8.551 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.0004826/0.3194, allocations: 281.5 kB / 473.9 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.3196, allocations: 186.9 kB / 474.1 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.3215, allocations: 0.8826 MB / 475 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.3215, allocations: 8 kB / 475 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3215, allocations: 4 kB / 475 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3215, allocations: 0 / 475 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.3228, allocations: 0.871 MB / 475.9 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.799e-05/0.3229, allocations: 52 kB / 475.9 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.3232, allocations: 63.95 kB / 476 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003813/0.3236, allocations: 148.6 kB / 476.1 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/0.3237, allocations: 20 kB / 476.2 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002999/0.3267, allocations: 2.501 MB / 478.7 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3267, allocations: 0 / 478.7 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.3287, allocations: 1.073 MB / 479.7 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.329, allocations: 263.9 kB / 480 MB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.3292, allocations: 8 kB / 480 MB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.3295, allocations: 23.98 kB / 480 MB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3296, allocations: 44.38 kB / 480.1 MB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.3297, allocations: 20 kB / 480.1 MB, free: 1.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001158/0.3308, allocations: 0.8617 MB / 480.9 MB, free: 1.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3308, allocations: 0 / 480.9 MB, free: 1.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009187/0.3317, allocations: 371.3 kB / 481.3 MB, free: 0.6602 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.0007575/0.3325, allocations: 467.5 kB / 481.8 MB, free: 200 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.3341, allocations: 0.809 MB / 482.6 MB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3341, allocations: 0 / 482.6 MB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009533/0.3351, allocations: 0.5554 MB / 483.1 MB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008128/0.3359, allocations: 202.2 kB / 483.3 MB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.3395, allocations: 2.445 MB / 485.8 MB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008035/0.3403, allocations: 1.17 MB / 486.9 MB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004574/0.3408, allocations: 187.2 kB / 487.1 MB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.3409, allocations: 83.44 kB / 487.2 MB, free: 10.63 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3409, allocations: 0 / 487.2 MB, free: 10.63 MB / 398.1 MB Notification: Performance of Templates: time 0.02718/0.3681, allocations: 13.89 MB / 0.4894 GB, free: 12.8 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/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.860325056128204]