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.001629/0.001629, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001906/0.001906, allocations: 214.5 kB / 24.48 MB, free: 3.836 MB / 14.72 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 1.422/1.422, allocations: 230.5 MB / 258.1 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002041/0.002041, allocations: 59.91 kB / 379 MB, free: 2.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2301, allocations: 53.42 MB / 432.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.00849/0.2386, allocations: 6.48 MB / 438.9 MB, free: 60 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.2515, allocations: 9.324 MB / 448.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.2525, allocations: 122.6 kB / 448.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.2543, allocations: 0.649 MB / 449 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003478/0.2577, allocations: 1.202 MB / 450.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.2596, allocations: 0.6798 MB / 450.8 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004129/0.2637, allocations: 2.574 MB / 453.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004052/0.2641, allocations: 172.3 kB / 453.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007344/0.2649, allocations: 0.5171 MB / 454.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006397/0.2655, allocations: 0.4966 MB / 454.6 MB, free: 248 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.2656, allocations: 56 kB / 454.6 MB, free: 192 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.2673, allocations: 0.6908 MB / 455.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.2675, allocations: 182.8 kB / 455.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005261/0.268, allocations: 0.5045 MB / 456 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.2705, allocations: 1.98 MB / 458 MB, free: 12.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2705, allocations: 0 / 458 MB, free: 12.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2705, allocations: 0 / 458 MB, free: 12.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.452e-05/0.2705, allocations: 0 / 458 MB, free: 12.82 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.003179/0.2737, allocations: 1.967 MB / 460 MB, free: 10.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.2737, allocations: 15.98 kB / 460 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.274, allocations: 207.7 kB / 460.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.2761, allocations: 1.248 MB / 461.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.2761, allocations: 36.94 kB / 461.5 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-05/0.2762, allocations: 47.95 kB / 461.5 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000978/0.2772, allocations: 0.5119 MB / 462 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.2772, allocations: 0 / 462 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/0.2773, allocations: 20 kB / 462 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.2773, allocations: 12 kB / 462.1 MB, free: 8.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009632/0.2783, allocations: 480.1 kB / 462.5 MB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/0.2814, allocations: 1.856 MB / 464.4 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009855/0.2824, allocations: 0.5106 MB / 464.9 MB, free: 5.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000752/0.2832, allocations: 478 kB / 465.4 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005224/0.2884, allocations: 2.284 MB / 467.6 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006232/0.289, allocations: 309.6 kB / 467.9 MB, free: 2.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.755e-06/0.289, allocations: 0 / 467.9 MB, free: 2.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005114/0.2941, allocations: 2.266 MB / 470.2 MB, free: 364 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.2942, allocations: 71.78 kB / 470.3 MB, free: 280 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.2958, allocations: 1.291 MB / 471.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.2959, allocations: 33.7 kB / 471.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006641/0.2966, allocations: 0.7002 MB / 472.3 MB, free: 14.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.2968, allocations: 234 kB / 472.5 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.297, allocations: 122.3 kB / 472.7 MB, free: 13.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2971, allocations: 333.9 kB / 473 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/0.2976, allocations: 213.6 kB / 473.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/0.2982, allocations: 360.5 kB / 473.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.2993, allocations: 0.6164 MB / 474.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2993, allocations: 0 / 474.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001869/0.3012, allocations: 0.9759 MB / 475.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3012, allocations: 8 kB / 475.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/0.3013, allocations: 64 kB / 475.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005225/0.3018, allocations: 180.8 kB / 475.4 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.3023, allocations: 107.8 kB / 475.5 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003494/0.3058, allocations: 2.588 MB / 478.1 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.3063, allocations: 39.91 kB / 478.1 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.594e-05/0.3064, allocations: 32 kB / 478.1 MB, free: 8.168 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.0004577/0.3068, allocations: 269.7 kB / 478.4 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.307, allocations: 190.8 kB / 478.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.3091, allocations: 0.9735 MB / 479.6 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.3091, allocations: 4 kB / 479.6 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.3091, allocations: 8 kB / 479.6 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3091, allocations: 3.984 kB / 479.6 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.3101, allocations: 0.7296 MB / 480.3 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.551e-05/0.3102, allocations: 63.98 kB / 480.4 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000329/0.3105, allocations: 67.83 kB / 480.4 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/0.311, allocations: 168.7 kB / 480.6 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/0.311, allocations: 16 kB / 480.6 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003389/0.3144, allocations: 2.612 MB / 483.2 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3144, allocations: 0 / 483.2 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.3166, allocations: 1.177 MB / 484.4 MB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/0.3171, allocations: 182.8 kB / 484.6 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.3172, allocations: 12 kB / 484.6 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.3176, allocations: 23.98 kB / 484.6 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.3177, allocations: 56.28 kB / 484.7 MB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.248e-05/0.3178, allocations: 31.98 kB / 484.7 MB, free: 1.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001186/0.3189, allocations: 0.8534 MB / 485.6 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3189, allocations: 3.938 kB / 485.6 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001007/0.32, allocations: 391.2 kB / 486 MB, free: 196 kB / 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.0007932/0.3207, allocations: 455.6 kB / 486.4 MB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.3226, allocations: 0.8786 MB / 487.3 MB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3226, allocations: 0 / 487.3 MB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.3237, allocations: 0.6119 MB / 487.9 MB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009529/0.3246, allocations: 218.1 kB / 488.1 MB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.3286, allocations: 2.498 MB / 490.6 MB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.3292, allocations: 0.5877 MB / 491.2 MB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.3294, allocations: 87.42 kB / 491.3 MB, free: 10.72 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3294, allocations: 0 / 491.3 MB, free: 10.72 MB / 398.1 MB Notification: Performance of Templates: time 0.03556/0.3649, allocations: 25.1 MB / 0.5043 GB, free: 1.617 MB / 414.1 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/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_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: 8.800875511951745]