Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 109.4 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 189.1 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 55.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07582/0.07705, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.1598/0.2369, allocations: 7.346 MB / 383.2 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.2473, allocations: 10.39 MB / 393.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009941/0.2483, allocations: 77.5 kB / 393.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.25, allocations: 0.6873 MB / 394.3 MB, free: 2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.2532, allocations: 1.173 MB / 395.5 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.2549, allocations: 0.6669 MB / 396.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003217/0.2582, allocations: 2.485 MB / 398.6 MB, free: 0 / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.2586, allocations: 287.4 kB / 398.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006157/0.2593, allocations: 477.5 kB / 399.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005763/0.2598, allocations: 0.5286 MB / 399.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-05/0.2599, allocations: 55.81 kB / 400 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.2618, allocations: 0.7025 MB / 400.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.2619, allocations: 182.8 kB / 400.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006293/0.2626, allocations: 0.6697 MB / 401.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.265, allocations: 1.943 MB / 403.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2651, allocations: 0 / 403.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.267e-06/0.2651, allocations: 0 / 403.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.694e-05/0.2651, allocations: 9.438 kB / 403.5 MB, free: 13.81 MB / 334.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.00315/0.2683, allocations: 1.974 MB / 405.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2683, allocations: 8.781 kB / 405.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.2685, allocations: 199.8 kB / 405.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.2706, allocations: 1.332 MB / 407 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.2706, allocations: 35.28 kB / 407 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.2707, allocations: 45.3 kB / 407.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000983/0.2717, allocations: 0.5168 MB / 407.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.2718, allocations: 4 kB / 407.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.873e-05/0.2718, allocations: 16.19 kB / 407.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.2719, allocations: 19.3 kB / 407.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009084/0.2728, allocations: 472.1 kB / 408.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/0.2759, allocations: 2.095 MB / 410.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/0.2769, allocations: 0.7097 MB / 410.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007241/0.2776, allocations: 0.5098 MB / 411.4 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007826/0.2854, allocations: 6.498 MB / 417.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005195/0.286, allocations: 301.7 kB / 418.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=55): time 2.875e-06/0.286, allocations: 0 / 418.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=59): time 0.003682/0.2897, allocations: 1.967 MB / 420.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.2897, allocations: 57.34 kB / 420.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.2915, allocations: 1.294 MB / 421.5 MB, free: 296 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.2915, allocations: 36.36 kB / 421.5 MB, free: 256 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005741/0.2921, allocations: 0.7123 MB / 422.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.2923, allocations: 196 kB / 422.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.2925, allocations: 122.7 kB / 422.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.2926, allocations: 336.8 kB / 422.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.293, allocations: 196 kB / 423.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.2935, allocations: 360.7 kB / 423.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.2957, allocations: 1.139 MB / 424.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.2957, allocations: 0 / 424.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001596/0.2973, allocations: 0.9187 MB / 425.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.2974, allocations: 12 kB / 425.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.08e-05/0.2975, allocations: 60 kB / 425.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003928/0.2979, allocations: 156 kB / 425.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.2983, allocations: 119.8 kB / 425.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002733/0.3011, allocations: 2.521 MB / 428.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006108/0.3017, allocations: 32.02 kB / 428.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/0.3018, allocations: 35.94 kB / 428.4 MB, free: 9.262 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real T1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real 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.0005214/0.3023, allocations: 273.7 kB / 428.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.3025, allocations: 181.8 kB / 428.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.3044, allocations: 0.8881 MB / 429.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3044, allocations: 4 kB / 429.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3044, allocations: 4 kB / 429.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.3044, allocations: 0 / 429.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.3056, allocations: 0.8708 MB / 430.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.592e-05/0.3057, allocations: 56 kB / 430.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.306, allocations: 59.89 kB / 430.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003453/0.3064, allocations: 149.6 kB / 430.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.3064, allocations: 20 kB / 430.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002653/0.3091, allocations: 2.492 MB / 433.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3091, allocations: 4 kB / 433.4 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.311, allocations: 1.064 MB / 434.5 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005102/0.3115, allocations: 250.9 kB / 434.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.3117, allocations: 12 kB / 434.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004495/0.3122, allocations: 20.86 kB / 434.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.3123, allocations: 52.38 kB / 434.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.3124, allocations: 20 kB / 434.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001109/0.3135, allocations: 0.8617 MB / 435.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.363e-06/0.3135, allocations: 3.938 kB / 435.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001061/0.3146, allocations: 379.7 kB / 436 MB, free: 1.379 MB / 350.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.0008126/0.3154, allocations: 458.1 kB / 436.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.317, allocations: 0.8521 MB / 437.3 MB, free: 44 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.317, allocations: 3.938 kB / 437.3 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009399/0.3179, allocations: 0.5786 MB / 437.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008181/0.3187, allocations: 178.4 kB / 438.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.3225, allocations: 2.426 MB / 440.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/0.3233, allocations: 1.177 MB / 441.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.3234, allocations: 83.44 kB / 441.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of SimCode: time 5e-07/0.3234, allocations: 0 / 441.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of Templates: time 0.03244/0.3559, allocations: 24.13 MB / 465.9 MB, free: 3.352 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches