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.001634/0.001634, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001928/0.001928, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.489/1.489, allocations: 230.5 MB / 258.1 MB, free: 8.16 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.002005/0.002005, allocations: 71.81 kB / 378.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2582, allocations: 53.32 MB / 432 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008976/0.2671, allocations: 7.558 MB / 439.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.2815, allocations: 10.78 MB / 450.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.2827, allocations: 83.25 kB / 450.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.285, allocations: 0.7117 MB / 451.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004199/0.2892, allocations: 1.2 MB / 452.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.2911, allocations: 0.6817 MB / 453 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004082/0.2952, allocations: 2.572 MB / 455.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.2955, allocations: 176 kB / 455.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006554/0.2962, allocations: 0.4937 MB / 456.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006844/0.2969, allocations: 0.5317 MB / 456.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.57e-05/0.297, allocations: 56 kB / 456.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.2987, allocations: 0.7728 MB / 457.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.2989, allocations: 190.7 kB / 457.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006097/0.2995, allocations: 0.6754 MB / 458.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002532/0.302, allocations: 1.956 MB / 460.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.302, allocations: 0 / 460.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.302, allocations: 0 / 460.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.302, allocations: 0 / 460.5 MB, free: 10.86 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.003291/0.3053, allocations: 2.039 MB / 462.5 MB, free: 8.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3054, allocations: 12.03 kB / 462.5 MB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.3056, allocations: 215.7 kB / 462.7 MB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.3079, allocations: 1.351 MB / 464.1 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.3079, allocations: 36.94 kB / 464.1 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-05/0.308, allocations: 44 kB / 464.2 MB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3091, allocations: 0.5119 MB / 464.7 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3091, allocations: 0 / 464.7 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.3091, allocations: 19.98 kB / 464.7 MB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.3092, allocations: 20 kB / 464.7 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009956/0.3102, allocations: 472.1 kB / 465.2 MB, free: 6.051 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003578/0.3137, allocations: 2.097 MB / 467.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.3148, allocations: 0.6572 MB / 467.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007809/0.3156, allocations: 470.2 kB / 468.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007229/0.3229, allocations: 4.916 MB / 473.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006376/0.3235, allocations: 314 kB / 473.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 2.414e-06/0.3235, allocations: 3.938 kB / 473.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.005695/0.3292, allocations: 2.421 MB / 476 MB, free: 10.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.3292, allocations: 63.84 kB / 476.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.331, allocations: 1.288 MB / 477.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.085e-05/0.3311, allocations: 37.7 kB / 477.4 MB, free: 8.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006608/0.3318, allocations: 0.7041 MB / 478.1 MB, free: 8.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.332, allocations: 234 kB / 478.3 MB, free: 7.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.3322, allocations: 122.3 kB / 478.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3323, allocations: 334 kB / 478.8 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004583/0.3328, allocations: 217.5 kB / 479 MB, free: 7.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.3334, allocations: 360.5 kB / 479.4 MB, free: 6.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.3346, allocations: 0.6073 MB / 480 MB, free: 6.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.3346, allocations: 4 kB / 480 MB, free: 6.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001914/0.3365, allocations: 0.9707 MB / 480.9 MB, free: 5.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.3365, allocations: 8 kB / 480.9 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/0.3366, allocations: 67.98 kB / 481 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/0.3371, allocations: 176.8 kB / 481.2 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.3376, allocations: 111.8 kB / 481.3 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/0.3412, allocations: 2.762 MB / 484.1 MB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005735/0.3417, allocations: 32.02 kB / 484.1 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.363e-05/0.3418, allocations: 28 kB / 484.1 MB, free: 1.926 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.0004844/0.3423, allocations: 265.8 kB / 484.4 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.3426, allocations: 190.8 kB / 484.6 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.3447, allocations: 0.968 MB / 485.5 MB, free: 496 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.3447, allocations: 4 kB / 485.5 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.3447, allocations: 4 kB / 485.5 MB, free: 488 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.3447, allocations: 7.984 kB / 485.5 MB, free: 480 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.3463, allocations: 0.9059 MB / 486.4 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001002/0.3464, allocations: 60 kB / 486.5 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.3468, allocations: 63.89 kB / 486.6 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000555/0.3473, allocations: 172.7 kB / 486.7 MB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.057e-05/0.3474, allocations: 27.92 kB / 486.8 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003727/0.3511, allocations: 2.749 MB / 489.5 MB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3511, allocations: 0 / 489.5 MB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.3536, allocations: 1.186 MB / 490.7 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/0.3541, allocations: 256 kB / 490.9 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.3543, allocations: 15.94 kB / 491 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.3546, allocations: 23.98 kB / 491 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.3548, allocations: 52.55 kB / 491 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/0.3548, allocations: 20 kB / 491.1 MB, free: 10.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001448/0.3563, allocations: 0.8574 MB / 491.9 MB, free: 9.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3563, allocations: 3.938 kB / 491.9 MB, free: 9.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001035/0.3573, allocations: 387.2 kB / 492.3 MB, free: 9.484 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.0008263/0.3581, allocations: 475.4 kB / 492.8 MB, free: 9.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00185/0.36, allocations: 0.874 MB / 493.6 MB, free: 8.113 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.36, allocations: 0 / 493.6 MB, free: 8.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.3611, allocations: 0.6121 MB / 494.2 MB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009644/0.3621, allocations: 214.8 kB / 494.5 MB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.3663, allocations: 2.476 MB / 496.9 MB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000919/0.3672, allocations: 1.174 MB / 498.1 MB, free: 3.551 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005303/0.3678, allocations: 187.1 kB / 498.3 MB, free: 3.363 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.3679, allocations: 83.44 kB / 498.4 MB, free: 3.281 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3679, allocations: 0 / 498.4 MB, free: 3.281 MB / 398.1 MB Notification: Performance of Templates: time 0.02997/0.3979, allocations: 14.64 MB / 0.501 GB, free: 4.719 MB / 414.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 -s cvode -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: 5.113061277195811]