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.001794/0.001794, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001869/0.001869, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 8.078 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.001956/0.001956, allocations: 59.91 kB / 379 MB, free: 2.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.259, allocations: 53.38 MB / 432.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009281/0.2683, allocations: 7.558 MB / 440 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.2818, allocations: 10.79 MB / 450.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009186/0.2827, allocations: 122.6 kB / 450.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.2843, allocations: 0.7142 MB / 451.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.2873, allocations: 1.206 MB / 452.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.2888, allocations: 0.6761 MB / 453.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003589/0.2924, allocations: 2.578 MB / 456 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/0.2928, allocations: 180.3 kB / 456.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005915/0.2934, allocations: 0.5094 MB / 456.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006533/0.294, allocations: 0.5395 MB / 457.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.406e-05/0.2941, allocations: 56 kB / 457.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.2956, allocations: 0.7727 MB / 458.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.2958, allocations: 182.8 kB / 458.3 MB, free: 13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006071/0.2964, allocations: 0.6754 MB / 458.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.2987, allocations: 1.96 MB / 460.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2987, allocations: 0 / 460.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2987, allocations: 0 / 460.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.25e-05/0.2987, allocations: 0 / 460.9 MB, free: 10.35 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.002983/0.3017, allocations: 1.967 MB / 462.9 MB, free: 8.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3017, allocations: 11.97 kB / 462.9 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.302, allocations: 207.7 kB / 463.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.304, allocations: 1.24 MB / 464.3 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.304, allocations: 40.94 kB / 464.4 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-05/0.3041, allocations: 40 kB / 464.4 MB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000991/0.3051, allocations: 0.5197 MB / 464.9 MB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3051, allocations: 0 / 464.9 MB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.723e-05/0.3052, allocations: 16 kB / 464.9 MB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.3052, allocations: 19.98 kB / 465 MB, free: 6.191 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.3063, allocations: 479.9 kB / 465.4 MB, free: 5.727 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.3093, allocations: 2.047 MB / 467.5 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009313/0.3103, allocations: 0.5169 MB / 468 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007106/0.311, allocations: 465.3 kB / 468.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004692/0.3157, allocations: 2.334 MB / 470.8 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006288/0.3163, allocations: 313.5 kB / 471.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 2.074e-06/0.3163, allocations: 0 / 471.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.005016/0.3213, allocations: 2.282 MB / 473.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.3214, allocations: 55.84 kB / 473.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.3229, allocations: 1.291 MB / 474.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.3229, allocations: 37.64 kB / 474.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006381/0.3236, allocations: 0.708 MB / 475.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.3238, allocations: 234 kB / 475.7 MB, free: 11.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.3239, allocations: 122.3 kB / 475.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3241, allocations: 330 kB / 476.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004495/0.3246, allocations: 217.6 kB / 476.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.3251, allocations: 360.4 kB / 476.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.3262, allocations: 0.6126 MB / 477.3 MB, free: 9.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3262, allocations: 0 / 477.3 MB, free: 9.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001723/0.3279, allocations: 0.9677 MB / 478.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3279, allocations: 8 kB / 478.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/0.328, allocations: 67.98 kB / 478.4 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/0.3285, allocations: 187.5 kB / 478.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004474/0.329, allocations: 107.8 kB / 478.6 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/0.3325, allocations: 2.667 MB / 481.3 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.333, allocations: 24.03 kB / 481.3 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/0.3331, allocations: 32 kB / 481.4 MB, free: 5.363 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.0004772/0.3335, allocations: 273.6 kB / 481.6 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.3337, allocations: 190.8 kB / 481.8 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.3356, allocations: 0.9619 MB / 482.8 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.3357, allocations: 8 kB / 482.8 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3357, allocations: 0 / 482.8 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.3357, allocations: 7.984 kB / 482.8 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.3368, allocations: 0.8699 MB / 483.7 MB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.878e-05/0.3369, allocations: 56 kB / 483.7 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.3372, allocations: 67.95 kB / 483.8 MB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/0.3376, allocations: 179.7 kB / 484 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/0.3377, allocations: 27.92 kB / 484 MB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003408/0.3411, allocations: 2.642 MB / 486.6 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3411, allocations: 3.938 kB / 486.6 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.3432, allocations: 1.188 MB / 487.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.3436, allocations: 182.8 kB / 488 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.3438, allocations: 19.92 kB / 488 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.3441, allocations: 15.98 kB / 488 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.3442, allocations: 52.34 kB / 488.1 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/0.3443, allocations: 24 kB / 488.1 MB, free: 14.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00119/0.3455, allocations: 0.8535 MB / 489 MB, free: 13.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3455, allocations: 4 kB / 489 MB, free: 13.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009635/0.3464, allocations: 391.2 kB / 489.3 MB, free: 13.18 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.0007456/0.3472, allocations: 463.5 kB / 489.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.3491, allocations: 0.8864 MB / 490.7 MB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3491, allocations: 3.938 kB / 490.7 MB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.3501, allocations: 0.6003 MB / 491.3 MB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008273/0.3509, allocations: 209 kB / 491.5 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.355, allocations: 2.462 MB / 494 MB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008481/0.3559, allocations: 1.174 MB / 495.1 MB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000479/0.3563, allocations: 183.2 kB / 495.3 MB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.3565, allocations: 83.44 kB / 495.4 MB, free: 7 MB / 398.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3565, allocations: 4 kB / 495.4 MB, free: 6.996 MB / 398.1 MB Notification: Performance of Templates: time 0.02953/0.386, allocations: 14.77 MB / 0.4982 GB, free: 8.289 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.8454192113131285]