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.005636/0.005636, allocations: 107.8 kB / 21.98 MB, free: 5.223 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.001501/0.001501, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.436/1.436, allocations: 230.5 MB / 259 MB, free: 8.035 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.001951/0.001951, allocations: 67.89 kB / 379.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2369, allocations: 53.36 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009137/0.246, allocations: 7.56 MB / 440.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.2597, allocations: 10.78 MB / 451.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.2611, allocations: 118.6 kB / 451.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.2631, allocations: 0.7177 MB / 452.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004065/0.2672, allocations: 1.194 MB / 453.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.2692, allocations: 0.6839 MB / 454.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004403/0.2736, allocations: 2.586 MB / 456.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004579/0.274, allocations: 180.3 kB / 457 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00085/0.2749, allocations: 0.5093 MB / 457.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007143/0.2756, allocations: 0.5433 MB / 458 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.2757, allocations: 56 kB / 458.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.2775, allocations: 0.7727 MB / 458.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.2777, allocations: 178.8 kB / 459 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006871/0.2784, allocations: 0.6793 MB / 459.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002748/0.2812, allocations: 1.956 MB / 461.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2812, allocations: 0 / 461.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2812, allocations: 0 / 461.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.2812, allocations: 0 / 461.7 MB, free: 10.31 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.003039/0.2842, allocations: 1.971 MB / 463.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2843, allocations: 8.031 kB / 463.6 MB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.2845, allocations: 211.7 kB / 463.9 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.2867, allocations: 1.236 MB / 465.1 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.2867, allocations: 40.88 kB / 465.1 MB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.272e-05/0.2868, allocations: 44 kB / 465.2 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.2878, allocations: 0.5158 MB / 465.7 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.2878, allocations: 0 / 465.7 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.517e-05/0.2879, allocations: 16 kB / 465.7 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.2879, allocations: 27.92 kB / 465.7 MB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009774/0.2889, allocations: 468.1 kB / 466.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003312/0.2922, allocations: 2.05 MB / 468.2 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009652/0.2932, allocations: 0.5153 MB / 468.8 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007331/0.2939, allocations: 461.3 kB / 469.2 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005173/0.2991, allocations: 2.338 MB / 471.5 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006836/0.2997, allocations: 313.6 kB / 471.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 3.376e-06/0.2997, allocations: 0 / 471.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.005151/0.3049, allocations: 2.274 MB / 474.1 MB, free: 13.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.305, allocations: 59.84 kB / 474.2 MB, free: 13.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.3066, allocations: 1.295 MB / 475.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.3067, allocations: 37.64 kB / 475.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006806/0.3074, allocations: 0.7002 MB / 476.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.3076, allocations: 238 kB / 476.4 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.3078, allocations: 118.3 kB / 476.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.308, allocations: 333.9 kB / 476.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/0.3085, allocations: 217.6 kB / 477.1 MB, free: 10.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/0.3091, allocations: 356.5 kB / 477.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.3102, allocations: 0.6164 MB / 478.1 MB, free: 9.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3102, allocations: 0 / 478.1 MB, free: 9.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00192/0.3121, allocations: 0.9799 MB / 479 MB, free: 8.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3121, allocations: 7.938 kB / 479.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/0.3122, allocations: 64 kB / 479.1 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005194/0.3128, allocations: 182.4 kB / 479.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.3132, allocations: 103.9 kB / 479.4 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003657/0.3169, allocations: 2.668 MB / 482.1 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005509/0.3174, allocations: 27.98 kB / 482.1 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.3175, allocations: 32 kB / 482.1 MB, free: 5.324 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.0005132/0.318, allocations: 277.6 kB / 482.4 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.3182, allocations: 190.8 kB / 482.6 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.3203, allocations: 0.958 MB / 483.5 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.3203, allocations: 8 kB / 483.5 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3203, allocations: 4 kB / 483.6 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.3203, allocations: 7.984 kB / 483.6 MB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.3215, allocations: 0.866 MB / 484.4 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-05/0.3216, allocations: 64 kB / 484.5 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.3219, allocations: 67.89 kB / 484.6 MB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004637/0.3224, allocations: 171.7 kB / 484.7 MB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.3224, allocations: 27.92 kB / 484.7 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003488/0.3259, allocations: 2.649 MB / 487.4 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3259, allocations: 0 / 487.4 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.3283, allocations: 1.188 MB / 488.6 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.3287, allocations: 178.8 kB / 488.8 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.3288, allocations: 19.92 kB / 488.8 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.3292, allocations: 23.98 kB / 488.8 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.3293, allocations: 52.34 kB / 488.9 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-05/0.3294, allocations: 24 kB / 488.9 MB, free: 14.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001209/0.3306, allocations: 0.8535 MB / 489.7 MB, free: 13.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3306, allocations: 0 / 489.7 MB, free: 13.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009448/0.3315, allocations: 391.2 kB / 490.1 MB, free: 13.14 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.0007648/0.3323, allocations: 467.5 kB / 490.6 MB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.3341, allocations: 0.8786 MB / 491.4 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3341, allocations: 0 / 491.4 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.3352, allocations: 0.6081 MB / 492.1 MB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008706/0.3361, allocations: 213.1 kB / 492.3 MB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.3403, allocations: 2.502 MB / 494.8 MB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008762/0.3411, allocations: 1.178 MB / 495.9 MB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.3413, allocations: 87.44 kB / 496 MB, free: 7.086 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3413, allocations: 0 / 496 MB, free: 7.086 MB / 398.1 MB Notification: Performance of Templates: time 0.03535/0.3767, allocations: 24.38 MB / 0.5082 GB, free: 14.71 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/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_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.722744852071628]