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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008048/0.0008047, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008982/0.0008982, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002134/0.0002133, allocations: 8 kB / 307.7 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.08962, allocations: 51.52 MB / 359.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.00588/0.09553, allocations: 7.044 MB / 366.3 MB, free: 6.211 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1904/0.286, allocations: 10.82 MB / 377.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008774/0.2869, allocations: 40.97 kB / 377.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.289, allocations: 0.6313 MB / 377.8 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004269/0.2933, allocations: 0.9695 MB / 378.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.2953, allocations: 495.5 kB / 379.2 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004165/0.2995, allocations: 2.491 MB / 381.7 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004589/0.3, allocations: 263.8 kB / 382 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007107/0.3007, allocations: 448.1 kB / 382.4 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004623/0.3012, allocations: 0.5046 MB / 382.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.666e-05/0.3012, allocations: 33.91 kB / 383 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.3034, allocations: 0.7501 MB / 383.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.3035, allocations: 158.5 kB / 383.9 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005621/0.3041, allocations: 0.6714 MB / 384.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.3069, allocations: 1.87 MB / 386.4 MB, free: 6.484 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.307, allocations: 0 / 386.4 MB, free: 6.484 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.307, allocations: 3.938 kB / 386.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.798e-05/0.307, allocations: 0.9688 kB / 386.4 MB, free: 6.48 MB / 302.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.002755/0.3098, allocations: 1.761 MB / 388.2 MB, free: 5.289 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3098, allocations: 9.156 kB / 388.2 MB, free: 5.289 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.31, allocations: 195 kB / 388.4 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.3117, allocations: 1.341 MB / 389.7 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.3117, allocations: 32.64 kB / 389.7 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.216e-05/0.3118, allocations: 53.91 kB / 389.8 MB, free: 4.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009883/0.3128, allocations: 0.5194 MB / 390.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3128, allocations: 0 / 390.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.3129, allocations: 23.83 kB / 390.3 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.3129, allocations: 17.16 kB / 390.4 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009068/0.3138, allocations: 0.4883 MB / 390.8 MB, free: 4.074 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.3167, allocations: 2.117 MB / 393 MB, free: 2.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009282/0.3176, allocations: 0.7299 MB / 393.7 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006613/0.3183, allocations: 0.5259 MB / 394.2 MB, free: 1.934 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005478/0.3238, allocations: 4.915 MB / 399.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000586/0.3244, allocations: 325.4 kB / 399.4 MB, free: 13.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=61): time 2.825e-06/0.3244, allocations: 1.5 kB / 399.4 MB, free: 13.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004739/0.3292, allocations: 2.467 MB / 401.9 MB, free: 11.74 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.3292, allocations: 58.03 kB / 402 MB, free: 11.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.3306, allocations: 1.28 MB / 403.3 MB, free: 11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.3306, allocations: 36.55 kB / 403.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005404/0.3312, allocations: 0.7037 MB / 404 MB, free: 10.33 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.3313, allocations: 225.4 kB / 404.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.3314, allocations: 57.03 kB / 404.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3315, allocations: 332.3 kB / 404.6 MB, free: 9.773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.332, allocations: 228.5 kB / 404.8 MB, free: 9.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/0.3325, allocations: 382.3 kB / 405.2 MB, free: 9.383 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.3335, allocations: 0.628 MB / 405.8 MB, free: 8.922 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3335, allocations: 0 / 405.8 MB, free: 8.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001602/0.3351, allocations: 0.989 MB / 406.8 MB, free: 7.922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3351, allocations: 4 kB / 406.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.271e-05/0.3352, allocations: 71.98 kB / 406.9 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004407/0.3357, allocations: 173.2 kB / 407 MB, free: 7.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.3361, allocations: 119.8 kB / 407.2 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/0.3389, allocations: 2.532 MB / 409.7 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.3395, allocations: 36.02 kB / 409.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.3396, allocations: 32 kB / 409.8 MB, free: 4.832 MB / 318.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.0004766/0.3401, allocations: 273.7 kB / 410 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.3403, allocations: 181.8 kB / 410.2 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.3422, allocations: 0.9988 MB / 411.2 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.3423, allocations: 8 kB / 411.2 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3423, allocations: 7.938 kB / 411.2 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.3423, allocations: 3.984 kB / 411.2 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.3433, allocations: 0.8958 MB / 412.1 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.141e-05/0.3434, allocations: 60 kB / 412.2 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/0.3437, allocations: 71.89 kB / 412.2 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004001/0.3441, allocations: 180.6 kB / 412.4 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.3442, allocations: 19.98 kB / 412.4 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/0.3469, allocations: 2.525 MB / 415 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3469, allocations: 4.047 kB / 415 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.3489, allocations: 1.207 MB / 416.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/0.3493, allocations: 258.9 kB / 416.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.3494, allocations: 12 kB / 416.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.3498, allocations: 27.98 kB / 416.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.3499, allocations: 52.36 kB / 416.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.35, allocations: 20 kB / 416.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000988/0.351, allocations: 0.8574 MB / 417.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.351, allocations: 0 / 417.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009497/0.3519, allocations: 379.8 kB / 417.8 MB, free: 12.59 MB / 334.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.000665/0.3526, allocations: 460.6 kB / 418.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.3543, allocations: 0.9485 MB / 419.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3543, allocations: 0 / 419.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009819/0.3553, allocations: 0.6535 MB / 419.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008954/0.3562, allocations: 214.9 kB / 420 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.3598, allocations: 2.955 MB / 423 MB, free: 7.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006587/0.3605, allocations: 1.174 MB / 424.2 MB, free: 6.133 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000592/0.3611, allocations: 183.2 kB / 424.3 MB, free: 5.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.3612, allocations: 83.44 kB / 424.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3612, allocations: 3.938 kB / 424.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of Templates: time 0.02492/0.3862, allocations: 13.5 MB / 437.9 MB, free: 8.43 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches