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.001259/0.001259, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001377/0.001377, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.422/1.422, allocations: 230.4 MB / 255.4 MB, free: 15.02 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.001929/0.001929, allocations: 71.83 kB / 374.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1055, allocations: 53.31 MB / 428.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.2164/0.3218, allocations: 7.539 MB / 435.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.3323, allocations: 10.77 MB / 446.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.3336, allocations: 78.03 kB / 446.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.3355, allocations: 0.7138 MB / 447.2 MB, free: 140 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004282/0.3398, allocations: 1.202 MB / 448.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.3419, allocations: 0.6733 MB / 449 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004878/0.3468, allocations: 2.575 MB / 451.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.3472, allocations: 176.8 kB / 451.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.3482, allocations: 0.4961 MB / 452.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007509/0.349, allocations: 0.5323 MB / 452.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.3491, allocations: 58.59 kB / 452.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.3513, allocations: 0.7683 MB / 453.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.3515, allocations: 195.5 kB / 453.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007215/0.3522, allocations: 0.6703 MB / 454.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00332/0.3555, allocations: 1.954 MB / 456.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3555, allocations: 0 / 456.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3555, allocations: 0 / 456.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.684e-05/0.3556, allocations: 1.531 kB / 456.4 MB, free: 11.85 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.003797/0.3594, allocations: 2.047 MB / 458.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3594, allocations: 14.42 kB / 458.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.3598, allocations: 208.6 kB / 458.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.3621, allocations: 1.352 MB / 460.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/0.3622, allocations: 35.17 kB / 460.1 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.676e-05/0.3623, allocations: 46.72 kB / 460.1 MB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009932/0.3633, allocations: 0.5067 MB / 460.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3633, allocations: 0 / 460.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.075e-05/0.3633, allocations: 23.56 kB / 460.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.3634, allocations: 14 kB / 460.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009771/0.3643, allocations: 479.1 kB / 461.2 MB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003701/0.368, allocations: 2.096 MB / 463.3 MB, free: 7.746 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.3691, allocations: 0.6579 MB / 463.9 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/0.3698, allocations: 471.2 kB / 464.4 MB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006826/0.3766, allocations: 4.911 MB / 469.3 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006319/0.3773, allocations: 316.6 kB / 469.6 MB, free: 2.242 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.625e-06/0.3773, allocations: 0 / 469.6 MB, free: 2.242 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005506/0.3828, allocations: 2.417 MB / 472 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.3828, allocations: 57.62 kB / 472.1 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.3845, allocations: 1.288 MB / 473.4 MB, free: 24 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.687e-05/0.3846, allocations: 36.61 kB / 473.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006621/0.3853, allocations: 0.7075 MB / 474.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.3855, allocations: 231.9 kB / 474.3 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.3857, allocations: 122.2 kB / 474.4 MB, free: 15.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3859, allocations: 336.9 kB / 474.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000454/0.3863, allocations: 215.3 kB / 475 MB, free: 14.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.3869, allocations: 367.4 kB / 475.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.3879, allocations: 0.6096 MB / 475.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3879, allocations: 3.938 kB / 476 MB, free: 13.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001843/0.3898, allocations: 0.9687 MB / 476.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3898, allocations: 7.094 kB / 476.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.05e-05/0.3899, allocations: 59.72 kB / 477 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004679/0.3903, allocations: 185.3 kB / 477.2 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.3908, allocations: 106.5 kB / 477.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003439/0.3942, allocations: 2.766 MB / 480 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007495/0.3949, allocations: 24.41 kB / 480.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.395, allocations: 30.12 kB / 480.1 MB, free: 11.01 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.0005053/0.3955, allocations: 276.9 kB / 480.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.3958, allocations: 195.6 kB / 480.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.3978, allocations: 0.9559 MB / 481.5 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.3978, allocations: 11.98 kB / 481.5 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3978, allocations: 8 kB / 481.5 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3978, allocations: 0.9844 kB / 481.5 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.3991, allocations: 0.902 MB / 482.4 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-05/0.3992, allocations: 63.98 kB / 482.5 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.3996, allocations: 60.83 kB / 482.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/0.4, allocations: 180 kB / 482.7 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.4001, allocations: 23.94 kB / 482.8 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003425/0.4035, allocations: 2.747 MB / 485.5 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4035, allocations: 4 kB / 485.5 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.4059, allocations: 1.19 MB / 486.7 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005412/0.4064, allocations: 260 kB / 486.9 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.4066, allocations: 19.94 kB / 487 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.4069, allocations: 15.98 kB / 487 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.4071, allocations: 48.38 kB / 487 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.283e-05/0.4071, allocations: 27.98 kB / 487.1 MB, free: 4.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001187/0.4083, allocations: 0.8496 MB / 487.9 MB, free: 3.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4083, allocations: 0 / 487.9 MB, free: 3.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001074/0.4094, allocations: 391.2 kB / 488.3 MB, free: 2.867 MB / 382.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.0008024/0.4102, allocations: 473.1 kB / 488.7 MB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.412, allocations: 0.8738 MB / 489.6 MB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.412, allocations: 0 / 489.6 MB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.4131, allocations: 0.6085 MB / 490.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.4142, allocations: 216.5 kB / 490.4 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/0.4181, allocations: 2.511 MB / 493 MB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009956/0.4191, allocations: 1.17 MB / 494.1 MB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.4193, allocations: 91.36 kB / 494.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4193, allocations: 0 / 494.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of Templates: time 0.03571/0.455, allocations: 24.39 MB / 0.5064 GB, free: 4.445 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/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: 8.196963930968195]