Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001931/0.001931, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001767/0.001767, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 60.08 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2344, allocations: 53.41 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009363/0.2437, allocations: 7.555 MB / 440 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.259, allocations: 10.78 MB / 450.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.2604, allocations: 126.6 kB / 450.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.2626, allocations: 0.7141 MB / 451.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004444/0.267, allocations: 1.198 MB / 452.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.2693, allocations: 0.6801 MB / 453.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004777/0.2741, allocations: 2.586 MB / 456.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005089/0.2746, allocations: 180.3 kB / 456.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009056/0.2755, allocations: 0.5054 MB / 456.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009042/0.2764, allocations: 0.5356 MB / 457.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.2765, allocations: 52 kB / 457.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.2787, allocations: 0.7843 MB / 458.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.2789, allocations: 178.8 kB / 458.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008695/0.2798, allocations: 0.6754 MB / 459 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003197/0.283, allocations: 1.96 MB / 460.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.283, allocations: 0 / 460.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.283, allocations: 0 / 460.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.706e-05/0.2831, allocations: 0 / 460.9 MB, free: 10.28 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.003737/0.2868, allocations: 1.975 MB / 462.9 MB, free: 8.266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2869, allocations: 8.031 kB / 462.9 MB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003374/0.2872, allocations: 207.7 kB / 463.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.2896, allocations: 1.24 MB / 464.4 MB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.2896, allocations: 32.94 kB / 464.4 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.2898, allocations: 48 kB / 464.4 MB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.2908, allocations: 0.508 MB / 465 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.2908, allocations: 7.984 kB / 465 MB, free: 6.156 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.2909, allocations: 16 kB / 465 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.2909, allocations: 16 kB / 465 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.2919, allocations: 484 kB / 465.5 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003708/0.2956, allocations: 2.05 MB / 467.5 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009946/0.2966, allocations: 0.5145 MB / 468 MB, free: 3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007599/0.2974, allocations: 478 kB / 468.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005443/0.3028, allocations: 2.334 MB / 470.8 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000649/0.3035, allocations: 313.5 kB / 471.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 3.276e-06/0.3035, allocations: 0 / 471.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.005239/0.3087, allocations: 2.274 MB / 473.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.3088, allocations: 59.83 kB / 473.5 MB, free: 13.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.3106, allocations: 1.288 MB / 474.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/0.3106, allocations: 37.7 kB / 474.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006529/0.3113, allocations: 0.7002 MB / 475.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.3115, allocations: 241.9 kB / 475.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.3117, allocations: 118.3 kB / 475.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3118, allocations: 334 kB / 476.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/0.3123, allocations: 213.5 kB / 476.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.3128, allocations: 368.4 kB / 476.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.3139, allocations: 0.6164 MB / 477.4 MB, free: 9.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3139, allocations: 0 / 477.4 MB, free: 9.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001791/0.3157, allocations: 0.9643 MB / 478.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.3157, allocations: 10.5 kB / 478.3 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/0.3158, allocations: 68.03 kB / 478.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005028/0.3163, allocations: 180.7 kB / 478.6 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.3168, allocations: 107.8 kB / 478.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.3204, allocations: 2.656 MB / 481.3 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/0.3209, allocations: 28.03 kB / 481.4 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.82e-05/0.321, allocations: 28 kB / 481.4 MB, free: 5.297 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.0005013/0.3215, allocations: 273.7 kB / 481.7 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.3218, allocations: 194.8 kB / 481.8 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.3239, allocations: 0.9696 MB / 482.8 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.3239, allocations: 4 kB / 482.8 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3239, allocations: 4 kB / 482.8 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3239, allocations: 0 / 482.8 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.3252, allocations: 0.8738 MB / 483.7 MB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-05/0.3253, allocations: 63.98 kB / 483.8 MB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.3256, allocations: 59.95 kB / 483.8 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005022/0.3261, allocations: 176.6 kB / 484 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.3262, allocations: 27.92 kB / 484 MB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003471/0.3297, allocations: 2.648 MB / 486.7 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3297, allocations: 0 / 486.7 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.332, allocations: 1.18 MB / 487.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/0.3325, allocations: 186.8 kB / 488 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.3327, allocations: 15.94 kB / 488 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.3331, allocations: 27.92 kB / 488.1 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.3333, allocations: 52.34 kB / 488.1 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.3333, allocations: 23.98 kB / 488.1 MB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001361/0.3347, allocations: 0.8535 MB / 489 MB, free: 13.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3347, allocations: 4 kB / 489 MB, free: 13.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001087/0.3358, allocations: 387.2 kB / 489.4 MB, free: 13.11 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.0008601/0.3366, allocations: 467.5 kB / 489.8 MB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.3384, allocations: 0.8708 MB / 490.7 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3384, allocations: 0 / 490.7 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.3396, allocations: 0.612 MB / 491.3 MB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.3407, allocations: 218.1 kB / 491.5 MB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/0.3451, allocations: 2.498 MB / 494 MB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.3461, allocations: 1.174 MB / 495.2 MB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.3463, allocations: 83.44 kB / 495.3 MB, free: 7.062 MB / 398.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3463, allocations: 0 / 495.3 MB, free: 7.062 MB / 398.1 MB Notification: Performance of Templates: time 0.0366/0.3829, allocations: 24.38 MB / 0.5075 GB, free: 14.69 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.752998938085511]