Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 230.6 MB / 254.8 MB, free: 15.09 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 47.94 kB / 374.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1093, allocations: 53.33 MB / 427.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.2171/0.3264, allocations: 7.543 MB / 435 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.337, allocations: 10.77 MB / 445.8 MB, free: 460 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.3385, allocations: 125.8 kB / 445.9 MB, free: 368 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.3405, allocations: 0.7021 MB / 446.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005037/0.3456, allocations: 1.21 MB / 447.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.3482, allocations: 0.6733 MB / 448.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004974/0.3532, allocations: 2.575 MB / 451.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.3536, allocations: 175.8 kB / 451.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008998/0.3545, allocations: 0.5114 MB / 451.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006928/0.3552, allocations: 0.5372 MB / 452.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.3553, allocations: 54.78 kB / 452.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.3575, allocations: 0.7758 MB / 453.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.3578, allocations: 186 kB / 453.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008655/0.3586, allocations: 0.674 MB / 454 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003654/0.3623, allocations: 1.958 MB / 455.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3623, allocations: 0 / 455.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3623, allocations: 1.875 kB / 455.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.44e-05/0.3623, allocations: 0 / 455.9 MB, free: 11.69 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.003622/0.366, allocations: 2.048 MB / 458 MB, free: 10.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.366, allocations: 9.891 kB / 458 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.3663, allocations: 207.5 kB / 458.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.3685, allocations: 1.352 MB / 459.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.3685, allocations: 34.81 kB / 459.6 MB, free: 9.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.3686, allocations: 47.53 kB / 459.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000983/0.3696, allocations: 0.5046 MB / 460.1 MB, free: 9.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.3696, allocations: 4.828 kB / 460.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.3697, allocations: 20.06 kB / 460.2 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.3697, allocations: 14.78 kB / 460.2 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.3707, allocations: 482.3 kB / 460.6 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003524/0.3742, allocations: 2.09 MB / 462.7 MB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.3753, allocations: 0.666 MB / 463.4 MB, free: 7.105 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007266/0.376, allocations: 462.4 kB / 463.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006754/0.3828, allocations: 4.907 MB / 468.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006395/0.3834, allocations: 315.8 kB / 469.1 MB, free: 2.102 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.795e-06/0.3834, allocations: 4 kB / 469.1 MB, free: 2.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005509/0.3889, allocations: 2.422 MB / 471.5 MB, free: 0.625 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.389, allocations: 62.02 kB / 471.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.3909, allocations: 1.288 MB / 472.8 MB, free: 15.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.971e-05/0.391, allocations: 37.17 kB / 472.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006241/0.3916, allocations: 0.7024 MB / 473.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.3918, allocations: 235.8 kB / 473.8 MB, free: 15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.392, allocations: 123.7 kB / 473.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3922, allocations: 331.9 kB / 474.3 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.3927, allocations: 214.6 kB / 474.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.3932, allocations: 367.6 kB / 474.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.3943, allocations: 0.6092 MB / 475.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3943, allocations: 5.938 kB / 475.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001878/0.3961, allocations: 0.9653 MB / 476.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3962, allocations: 7.281 kB / 476.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.653e-05/0.3963, allocations: 65.19 kB / 476.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005003/0.3968, allocations: 185.4 kB / 476.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.3972, allocations: 107.9 kB / 476.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003385/0.4006, allocations: 2.766 MB / 479.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/0.4013, allocations: 27.34 kB / 479.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.804e-05/0.4014, allocations: 30.72 kB / 479.6 MB, free: 10.86 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.0004911/0.4019, allocations: 278.2 kB / 479.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.4021, allocations: 191 kB / 480 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.4042, allocations: 0.9641 MB / 481 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.4042, allocations: 4 kB / 481 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4042, allocations: 4 kB / 481 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4042, allocations: 3.984 kB / 481 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.4055, allocations: 0.902 MB / 481.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.414e-05/0.4056, allocations: 60.5 kB / 482 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.4059, allocations: 67.94 kB / 482 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/0.4064, allocations: 175.5 kB / 482.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.719e-05/0.4065, allocations: 28.8 kB / 482.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003437/0.4099, allocations: 2.748 MB / 485 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4099, allocations: 0 / 485 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/0.4124, allocations: 1.187 MB / 486.2 MB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006157/0.413, allocations: 256 kB / 486.4 MB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.4132, allocations: 15.94 kB / 486.4 MB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.4135, allocations: 19.97 kB / 486.5 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.4137, allocations: 56.38 kB / 486.5 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.4137, allocations: 20 kB / 486.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001202/0.4149, allocations: 0.8535 MB / 487.4 MB, free: 3.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4149, allocations: 4 kB / 487.4 MB, free: 3.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001133/0.4161, allocations: 387.2 kB / 487.8 MB, free: 2.668 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.000793/0.4169, allocations: 464.3 kB / 488.2 MB, free: 2.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.4187, allocations: 0.8929 MB / 489.1 MB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4187, allocations: 0 / 489.1 MB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.4198, allocations: 0.6002 MB / 489.7 MB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.4209, allocations: 204.9 kB / 489.9 MB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.4249, allocations: 2.507 MB / 492.4 MB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007698/0.4256, allocations: 1.174 MB / 493.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.4258, allocations: 83.44 kB / 493.7 MB, free: 12.65 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4258, allocations: 0 / 493.7 MB, free: 12.65 MB / 398.1 MB Notification: Performance of Templates: time 0.03399/0.4598, allocations: 24.37 MB / 0.5059 GB, free: 4.277 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.874089641001774]