Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 104 kB / 21.18 MB, free: 0.6719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00233/0.00233, allocations: 194.4 kB / 24.46 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 55.91 kB / 371.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2354, allocations: 52.17 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.00787/0.2433, allocations: 6.468 MB / 430.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.2556, allocations: 9.289 MB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.2566, allocations: 118.6 kB / 439.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.2583, allocations: 0.6451 MB / 440.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.2617, allocations: 1.214 MB / 441.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.2634, allocations: 0.6643 MB / 442.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003689/0.2671, allocations: 2.551 MB / 444.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003416/0.2674, allocations: 176.3 kB / 444.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006488/0.268, allocations: 0.5133 MB / 445.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006181/0.2687, allocations: 0.4965 MB / 445.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.2688, allocations: 56 kB / 446 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.2702, allocations: 0.6868 MB / 446.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.2704, allocations: 190.8 kB / 446.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004906/0.2709, allocations: 0.5007 MB / 447.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0023/0.2732, allocations: 1.98 MB / 449.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2732, allocations: 0 / 449.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2732, allocations: 0 / 449.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.2732, allocations: 0 / 449.3 MB, free: 4.824 MB / 350.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.003008/0.2762, allocations: 1.978 MB / 451.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2763, allocations: 8.031 kB / 451.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.2765, allocations: 203.7 kB / 451.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.2786, allocations: 1.24 MB / 452.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.2786, allocations: 32.94 kB / 452.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-05/0.2787, allocations: 55.94 kB / 452.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000949/0.2797, allocations: 0.5158 MB / 453.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.2797, allocations: 0 / 453.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.765e-05/0.2797, allocations: 16 kB / 453.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.2798, allocations: 15.98 kB / 453.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009504/0.2807, allocations: 476 kB / 453.9 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003098/0.2838, allocations: 1.867 MB / 455.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009522/0.2848, allocations: 0.5058 MB / 456.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007262/0.2855, allocations: 465.4 kB / 456.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006269/0.2918, allocations: 2.549 MB / 459.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005884/0.2923, allocations: 294.1 kB / 459.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=55): time 2.845e-06/0.2923, allocations: 3.938 kB / 459.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.003678/0.296, allocations: 1.9 MB / 461.4 MB, free: 8.488 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.2961, allocations: 55.84 kB / 461.5 MB, free: 8.422 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.2976, allocations: 1.308 MB / 462.8 MB, free: 7.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.2977, allocations: 37.7 kB / 462.8 MB, free: 7.074 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000653/0.2983, allocations: 0.7157 MB / 463.6 MB, free: 6.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.2985, allocations: 214.2 kB / 463.8 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.2987, allocations: 122.3 kB / 463.9 MB, free: 6.016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2989, allocations: 334 kB / 464.2 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000427/0.2993, allocations: 193.6 kB / 464.4 MB, free: 5.496 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.2998, allocations: 367.8 kB / 464.8 MB, free: 5.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.3008, allocations: 0.596 MB / 465.4 MB, free: 4.402 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3009, allocations: 7.938 kB / 465.4 MB, free: 4.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001634/0.3025, allocations: 0.9095 MB / 466.3 MB, free: 3.477 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.3025, allocations: 11.94 kB / 466.3 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.161e-05/0.3026, allocations: 59.98 kB / 466.3 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004138/0.303, allocations: 163.3 kB / 466.5 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.3035, allocations: 115.8 kB / 466.6 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/0.3064, allocations: 2.351 MB / 469 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.3069, allocations: 32.02 kB / 469 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.289e-05/0.307, allocations: 32 kB / 469 MB, free: 0.6211 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 54 * 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,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004516/0.3075, allocations: 273.8 kB / 469.3 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.3077, allocations: 194.8 kB / 469.5 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.3095, allocations: 0.8775 MB / 470.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.3095, allocations: 11.88 kB / 470.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3095, allocations: 7.938 kB / 470.4 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3095, allocations: 0 / 470.4 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009384/0.3105, allocations: 0.7138 MB / 471.1 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.19e-05/0.3105, allocations: 55.98 kB / 471.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/0.3109, allocations: 63.95 kB / 471.2 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003682/0.3112, allocations: 144.7 kB / 471.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.3113, allocations: 19.94 kB / 471.4 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/0.3141, allocations: 2.347 MB / 473.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3141, allocations: 0 / 473.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.3161, allocations: 1.069 MB / 474.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.3165, allocations: 174.9 kB / 475 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.3166, allocations: 19.92 kB / 475 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.317, allocations: 15.98 kB / 475 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.3171, allocations: 52.36 kB / 475 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.3172, allocations: 20 kB / 475.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001114/0.3183, allocations: 0.8617 MB / 475.9 MB, free: 9.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3183, allocations: 0 / 475.9 MB, free: 9.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009387/0.3192, allocations: 383.2 kB / 476.3 MB, free: 9.176 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 (30): * Single equations (assignments): 24 * 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,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007615/0.32, allocations: 455.6 kB / 476.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.3216, allocations: 0.8051 MB / 477.5 MB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3216, allocations: 3.938 kB / 477.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009829/0.3226, allocations: 0.555 MB / 478.1 MB, free: 7.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008378/0.3234, allocations: 206.2 kB / 478.3 MB, free: 7.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/0.327, allocations: 2.479 MB / 480.8 MB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.3276, allocations: 0.5836 MB / 481.4 MB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.3278, allocations: 91.44 kB / 481.5 MB, free: 3.871 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3278, allocations: 0 / 481.5 MB, free: 3.871 MB / 382.1 MB Notification: Performance of Templates: time 0.03481/0.3626, allocations: 24.91 MB / 0.4945 GB, free: 10.96 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.835415286943316]