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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001805/0.001805, allocations: 121 kB / 18.42 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001752/0.001752, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.02 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09138/0.09257, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.00752/0.1001, allocations: 7.512 MB / 366.4 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1857/0.2859, allocations: 10.73 MB / 377.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.2872, allocations: 80.28 kB / 377.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.2893, allocations: 0.7094 MB / 377.9 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004247/0.2935, allocations: 1.189 MB / 379.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.2958, allocations: 0.6791 MB / 379.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004044/0.2999, allocations: 2.566 MB / 382.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004919/0.3004, allocations: 284.3 kB / 382.6 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008484/0.3013, allocations: 493.6 kB / 383.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005994/0.3019, allocations: 0.5377 MB / 383.7 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.302, allocations: 56 kB / 383.7 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.3041, allocations: 0.7691 MB / 384.5 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.3043, allocations: 188.3 kB / 384.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005702/0.3049, allocations: 0.6779 MB / 385.3 MB, free: 7.133 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.3075, allocations: 1.941 MB / 387.3 MB, free: 6.438 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3075, allocations: 3.938 kB / 387.3 MB, free: 6.434 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3075, allocations: 3.938 kB / 387.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.582e-05/0.3075, allocations: 0 / 387.3 MB, free: 6.43 MB / 302.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.002982/0.3105, allocations: 1.982 MB / 389.3 MB, free: 5.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3106, allocations: 9.375 kB / 389.3 MB, free: 5.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.3108, allocations: 198.1 kB / 389.5 MB, free: 5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.3126, allocations: 1.339 MB / 390.8 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.3126, allocations: 38.91 kB / 390.9 MB, free: 4.285 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-05/0.3127, allocations: 51.69 kB / 390.9 MB, free: 4.266 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008476/0.3136, allocations: 0.5088 MB / 391.4 MB, free: 4.055 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3136, allocations: 0 / 391.4 MB, free: 4.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.054e-05/0.3137, allocations: 16.16 kB / 391.4 MB, free: 4.043 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/0.3137, allocations: 16.97 kB / 391.4 MB, free: 4.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008783/0.3146, allocations: 476.2 kB / 391.9 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002811/0.3174, allocations: 2.097 MB / 394 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/0.3182, allocations: 0.7011 MB / 394.7 MB, free: 1.957 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006178/0.3189, allocations: 0.5203 MB / 395.2 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005641/0.3245, allocations: 4.899 MB / 400.1 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005491/0.3251, allocations: 311.4 kB / 400.4 MB, free: 12.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=61): time 3.006e-06/0.3251, allocations: 0 / 400.4 MB, free: 12.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004669/0.3298, allocations: 2.412 MB / 402.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.3298, allocations: 60.53 kB / 402.9 MB, free: 11.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.3312, allocations: 1.285 MB / 404.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.3313, allocations: 36.36 kB / 404.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/0.3318, allocations: 0.6999 MB / 404.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.3319, allocations: 220.2 kB / 405.1 MB, free: 9.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.3321, allocations: 117.6 kB / 405.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3322, allocations: 337.1 kB / 405.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.3326, allocations: 215.8 kB / 405.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.3331, allocations: 360.8 kB / 406.1 MB, free: 9.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009399/0.3341, allocations: 0.6166 MB / 406.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3341, allocations: 0 / 406.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00162/0.3357, allocations: 0.9733 MB / 407.7 MB, free: 7.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3358, allocations: 4 kB / 407.7 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.78e-05/0.3358, allocations: 64 kB / 407.8 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004533/0.3363, allocations: 181.2 kB / 408 MB, free: 7.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.3367, allocations: 107.8 kB / 408.1 MB, free: 7.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.3398, allocations: 2.761 MB / 410.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.3405, allocations: 33.09 kB / 410.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.326e-05/0.3405, allocations: 32 kB / 410.9 MB, free: 4.156 MB / 318.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.000431/0.341, allocations: 273.6 kB / 411.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.3412, allocations: 185.8 kB / 411.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.343, allocations: 0.9702 MB / 412.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.343, allocations: 7.984 kB / 412.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.343, allocations: 5.125 kB / 412.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.343, allocations: 0 / 412.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.3441, allocations: 0.9063 MB / 413.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.918e-05/0.3442, allocations: 67.98 kB / 413.3 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.3445, allocations: 59.89 kB / 413.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/0.3449, allocations: 184.2 kB / 413.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/0.345, allocations: 19.94 kB / 413.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003025/0.348, allocations: 2.755 MB / 416.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3481, allocations: 4 kB / 416.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.3501, allocations: 1.185 MB / 417.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000547/0.3507, allocations: 247 kB / 417.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.3509, allocations: 12 kB / 417.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.3512, allocations: 19.92 kB / 417.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.3514, allocations: 52.38 kB / 417.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.125e-05/0.3515, allocations: 27.98 kB / 417.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00108/0.3525, allocations: 0.8496 MB / 418.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3526, allocations: 8 kB / 418.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001044/0.3536, allocations: 387.8 kB / 419.1 MB, free: 11.74 MB / 334.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.000728/0.3543, allocations: 460 kB / 419.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.356, allocations: 0.9201 MB / 420.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.356, allocations: 0 / 420.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.357, allocations: 0.6428 MB / 421.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3581, allocations: 213.7 kB / 421.3 MB, free: 9.504 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.3615, allocations: 2.407 MB / 423.7 MB, free: 7.074 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006688/0.3621, allocations: 1.174 MB / 424.9 MB, free: 5.867 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005081/0.3627, allocations: 195.1 kB / 425.1 MB, free: 5.672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.3628, allocations: 79.44 kB / 425.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3628, allocations: 0 / 425.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of Templates: time 0.02549/0.3883, allocations: 14.13 MB / 439.3 MB, free: 7.559 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches