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.001141/0.001141, allocations: 92.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005934/0.005934, allocations: 157.9 kB / 24.7 MB, free: 8.906 MB / 18.57 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 0.8908/0.8908, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 2.956e-06/2.956e-06, allocations: 3.984 kB / 325.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.406e-05/3.702e-05, allocations: 6.219 kB / 325.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.005749/0.005786, allocations: 6.485 MB / 332.3 MB, free: 8.746 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009128/0.01491, allocations: 9.332 MB / 341.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.01604, allocations: 126.6 kB / 341.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.01737, allocations: 0.6423 MB / 342.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003162/0.02053, allocations: 1.248 MB / 343.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.02229, allocations: 0.6835 MB / 344.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003118/0.02541, allocations: 2.644 MB / 346.9 MB, free: 10 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.02572, allocations: 176.4 kB / 347.1 MB, free: 9.805 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006906/0.02642, allocations: 0.7169 MB / 347.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003297/0.02674, allocations: 374.6 kB / 348.2 MB, free: 8.719 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.0268, allocations: 52 kB / 348.2 MB, free: 8.668 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.02794, allocations: 0.6985 MB / 348.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.02805, allocations: 190.7 kB / 349.1 MB, free: 7.781 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002758/0.02833, allocations: 386.8 kB / 349.5 MB, free: 7.402 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.03002, allocations: 1.997 MB / 351.5 MB, free: 5.398 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.03003, allocations: 0 / 351.5 MB, free: 5.398 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.03003, allocations: 0 / 351.5 MB, free: 5.398 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.03005, allocations: 0 / 351.5 MB, free: 5.398 MB / 314.7 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.001994/0.03204, allocations: 1.955 MB / 353.4 MB, free: 3.402 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.03209, allocations: 11.98 kB / 353.5 MB, free: 3.391 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.03229, allocations: 207.7 kB / 353.7 MB, free: 3.188 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.03399, allocations: 1.243 MB / 354.9 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.03401, allocations: 29.38 kB / 354.9 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.03408, allocations: 48.38 kB / 355 MB, free: 1.812 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006416/0.03472, allocations: 0.5119 MB / 355.5 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.03473, allocations: 0 / 355.5 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.03477, allocations: 23.94 kB / 355.5 MB, free: 1.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.03479, allocations: 16 kB / 355.5 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005797/0.03536, allocations: 480 kB / 356 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.03773, allocations: 1.876 MB / 357.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.03831, allocations: 0.4953 MB / 358.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004367/0.03875, allocations: 465.5 kB / 358.8 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003241/0.04199, allocations: 2.265 MB / 361.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007143/0.0427, allocations: 314 kB / 361.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=61): time 3.727e-06/0.04271, allocations: 0 / 361.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.00331/0.04602, allocations: 2.286 MB / 363.7 MB, free: 8.941 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.04607, allocations: 63.91 kB / 363.7 MB, free: 8.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.0472, allocations: 1.291 MB / 365 MB, free: 7.578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.04723, allocations: 33.7 kB / 365.1 MB, free: 7.539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/0.04764, allocations: 0.7002 MB / 365.8 MB, free: 6.836 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.04777, allocations: 230 kB / 366 MB, free: 6.609 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.04789, allocations: 118.3 kB / 366.1 MB, free: 6.488 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.04798, allocations: 333.9 kB / 366.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.04831, allocations: 213.6 kB / 366.6 MB, free: 5.949 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.04865, allocations: 364.4 kB / 367 MB, free: 5.539 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/0.04929, allocations: 0.6165 MB / 367.6 MB, free: 4.871 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.04929, allocations: 0 / 367.6 MB, free: 4.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001424/0.05071, allocations: 0.9682 MB / 368.6 MB, free: 3.891 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.05074, allocations: 12 kB / 368.6 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.078e-05/0.0508, allocations: 64 kB / 368.7 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003716/0.05117, allocations: 180.7 kB / 368.8 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.05142, allocations: 107.8 kB / 368.9 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.05368, allocations: 2.587 MB / 371.5 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.05406, allocations: 23.98 kB / 371.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.05411, allocations: 40 kB / 371.6 MB, free: 0.7852 MB / 330.7 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.0003977/0.05451, allocations: 274.7 kB / 371.9 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.05467, allocations: 190.8 kB / 372 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.05592, allocations: 0.9702 MB / 373 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.05593, allocations: 4 kB / 373 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.05594, allocations: 4 kB / 373 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.05594, allocations: 7.984 kB / 373 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007335/0.05668, allocations: 0.741 MB / 373.8 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.544e-05/0.05673, allocations: 59.98 kB / 373.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.05689, allocations: 63.95 kB / 373.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002952/0.05719, allocations: 183.8 kB / 374.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.05722, allocations: 19.94 kB / 374.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.0595, allocations: 2.594 MB / 376.7 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.05951, allocations: 3.938 kB / 376.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.06087, allocations: 1.177 MB / 377.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/0.06118, allocations: 182.8 kB / 378 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/0.06126, allocations: 12 kB / 378.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.06145, allocations: 27.98 kB / 378.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.06156, allocations: 52.41 kB / 378.1 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.0616, allocations: 27.98 kB / 378.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008155/0.06241, allocations: 0.8496 MB / 379 MB, free: 9.195 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.06241, allocations: 0 / 379 MB, free: 9.195 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007364/0.06315, allocations: 395.2 kB / 379.4 MB, free: 8.809 MB / 346.7 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.0006279/0.06378, allocations: 483.6 kB / 379.9 MB, free: 8.328 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.06495, allocations: 0.8792 MB / 380.7 MB, free: 7.422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.06495, allocations: 0 / 380.7 MB, free: 7.422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006276/0.06558, allocations: 0.6126 MB / 381.4 MB, free: 6.781 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.06621, allocations: 214.1 kB / 381.6 MB, free: 6.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.06933, allocations: 2.394 MB / 384 MB, free: 4.133 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.06974, allocations: 0.5876 MB / 384.6 MB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.06988, allocations: 88.5 kB / 384.6 MB, free: 3.422 MB / 346.7 MB Notification: Performance of SimCode: time 1.383e-06/0.06988, allocations: 0 / 384.6 MB, free: 3.422 MB / 346.7 MB Notification: Performance of Templates: time 0.02612/0.096, allocations: 25.11 MB / 409.8 MB, free: 10.31 MB / 378.7 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/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_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: 5.587053238414228]