Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001557/0.001557, allocations: 115.5 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001698/0.001698, allocations: 210.8 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.397/1.397, allocations: 230.5 MB / 258.1 MB, free: 8.141 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 71.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2389, allocations: 53.32 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008633/0.2476, allocations: 7.557 MB / 439.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.2612, allocations: 10.78 MB / 450.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.2623, allocations: 75.31 kB / 450.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.2642, allocations: 0.716 MB / 451.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003837/0.268, allocations: 1.2 MB / 452.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.2699, allocations: 0.6817 MB / 453.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004038/0.274, allocations: 2.568 MB / 455.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003745/0.2743, allocations: 179.9 kB / 455.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006959/0.275, allocations: 0.4899 MB / 456.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006428/0.2757, allocations: 0.5355 MB / 456.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.476e-05/0.2758, allocations: 56 kB / 456.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.2774, allocations: 0.7766 MB / 457.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.2776, allocations: 186.8 kB / 457.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006736/0.2783, allocations: 0.6715 MB / 458.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.2808, allocations: 1.964 MB / 460.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2808, allocations: 0 / 460.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2808, allocations: 4 kB / 460.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.381e-05/0.2808, allocations: 0 / 460.5 MB, free: 10.82 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.00308/0.2839, allocations: 2.039 MB / 462.5 MB, free: 8.719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2839, allocations: 8.031 kB / 462.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.2841, allocations: 207.7 kB / 462.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.2862, allocations: 1.351 MB / 464.1 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.2862, allocations: 36.94 kB / 464.1 MB, free: 7.074 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/0.2863, allocations: 51.94 kB / 464.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009616/0.2873, allocations: 0.5119 MB / 464.7 MB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.2873, allocations: 3.938 kB / 464.7 MB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.2873, allocations: 16 kB / 464.7 MB, free: 6.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.2874, allocations: 19.98 kB / 464.7 MB, free: 6.465 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009435/0.2883, allocations: 476.1 kB / 465.2 MB, free: 6.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/0.2916, allocations: 2.089 MB / 467.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.2926, allocations: 0.6532 MB / 467.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007222/0.2933, allocations: 462.3 kB / 468.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006551/0.2999, allocations: 4.931 MB / 473.3 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000616/0.3005, allocations: 310 kB / 473.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 2.505e-06/0.3005, allocations: 0 / 473.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.005121/0.3056, allocations: 2.424 MB / 476 MB, free: 10.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.3056, allocations: 55.84 kB / 476.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.3072, allocations: 1.288 MB / 477.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.3073, allocations: 37.69 kB / 477.4 MB, free: 8.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006622/0.308, allocations: 0.708 MB / 478.1 MB, free: 8.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.3082, allocations: 234 kB / 478.3 MB, free: 7.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.3084, allocations: 122.2 kB / 478.5 MB, free: 7.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3085, allocations: 330 kB / 478.8 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/0.309, allocations: 217.5 kB / 479 MB, free: 7.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005727/0.3095, allocations: 360.5 kB / 479.3 MB, free: 6.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.3106, allocations: 0.6151 MB / 480 MB, free: 6.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3106, allocations: 0 / 480 MB, free: 6.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00175/0.3124, allocations: 0.9704 MB / 480.9 MB, free: 5.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3124, allocations: 4 kB / 480.9 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001023/0.3125, allocations: 64 kB / 481 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004823/0.313, allocations: 185.1 kB / 481.2 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/0.3134, allocations: 107.9 kB / 481.3 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.3169, allocations: 2.766 MB / 484.1 MB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.3174, allocations: 28.03 kB / 484.1 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-05/0.3174, allocations: 32 kB / 484.1 MB, free: 1.891 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.0004676/0.3179, allocations: 265.7 kB / 484.4 MB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.3181, allocations: 190.8 kB / 484.6 MB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.32, allocations: 0.968 MB / 485.5 MB, free: 460 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.32, allocations: 4 kB / 485.5 MB, free: 456 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.32, allocations: 4 kB / 485.5 MB, free: 452 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.32, allocations: 3.984 kB / 485.5 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.3211, allocations: 0.8981 MB / 486.4 MB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.772e-05/0.3212, allocations: 60 kB / 486.5 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.3216, allocations: 71.88 kB / 486.6 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/0.322, allocations: 172.7 kB / 486.7 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/0.322, allocations: 27.94 kB / 486.8 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003446/0.3255, allocations: 2.76 MB / 489.5 MB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3255, allocations: 3.984 kB / 489.5 MB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.3278, allocations: 1.186 MB / 490.7 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004708/0.3282, allocations: 260 kB / 491 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.3284, allocations: 19.92 kB / 491 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.3289, allocations: 19.98 kB / 491 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.329, allocations: 48.38 kB / 491 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.224e-05/0.329, allocations: 23.98 kB / 491.1 MB, free: 10.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001324/0.3304, allocations: 0.8574 MB / 491.9 MB, free: 9.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3304, allocations: 0 / 491.9 MB, free: 9.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001067/0.3314, allocations: 387.2 kB / 492.3 MB, free: 9.441 MB / 398.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.0008524/0.3323, allocations: 467.6 kB / 492.8 MB, free: 8.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001895/0.3342, allocations: 0.8743 MB / 493.6 MB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3342, allocations: 0 / 493.6 MB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.3353, allocations: 0.6119 MB / 494.3 MB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.3363, allocations: 215.2 kB / 494.5 MB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.3407, allocations: 2.517 MB / 497 MB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.3417, allocations: 1.17 MB / 498.1 MB, free: 3.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.3419, allocations: 87.44 kB / 498.2 MB, free: 3.383 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3419, allocations: 0 / 498.2 MB, free: 3.383 MB / 398.1 MB Notification: Performance of Templates: time 0.03341/0.3753, allocations: 24.39 MB / 0.5104 GB, free: 11 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.157553981989622]