Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001656/0.001656, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001948, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.433/1.433, allocations: 227.7 MB / 247.7 MB, free: 10.31 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 66 kB / 307.9 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09535/0.09727, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008947/0.1063, allocations: 7.512 MB / 365.9 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1792/0.2855, allocations: 10.73 MB / 376.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.2868, allocations: 39.5 kB / 376.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.2888, allocations: 0.7129 MB / 377.4 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004578/0.2933, allocations: 1.188 MB / 378.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.2967, allocations: 0.6725 MB / 379.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005829/0.3026, allocations: 2.555 MB / 381.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007283/0.3033, allocations: 287.7 kB / 382.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.3045, allocations: 482.5 kB / 382.6 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.3056, allocations: 0.5304 MB / 383.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003062/0.3059, allocations: 60.44 kB / 383.2 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004297/0.3102, allocations: 0.7755 MB / 384 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.3106, allocations: 187.4 kB / 384.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.3123, allocations: 0.6755 MB / 384.8 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005069/0.3173, allocations: 1.921 MB / 386.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.3174, allocations: 0 / 386.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3174, allocations: 0 / 386.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.624e-05/0.3175, allocations: 1.75 kB / 386.7 MB, free: 6.027 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.005538/0.323, allocations: 1.988 MB / 388.7 MB, free: 4.688 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3231, allocations: 16.56 kB / 388.7 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005339/0.3236, allocations: 199.6 kB / 388.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/0.3267, allocations: 1.338 MB / 390.3 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.3267, allocations: 30.16 kB / 390.3 MB, free: 3.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.3269, allocations: 49.28 kB / 390.4 MB, free: 3.855 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.328, allocations: 0.5129 MB / 390.9 MB, free: 3.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.328, allocations: 0 / 390.9 MB, free: 3.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/0.3281, allocations: 15.28 kB / 390.9 MB, free: 3.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.3281, allocations: 23.77 kB / 390.9 MB, free: 3.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008815/0.329, allocations: 473 kB / 391.4 MB, free: 3.477 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.3321, allocations: 2.104 MB / 393.5 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008671/0.333, allocations: 0.7149 MB / 394.2 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/0.3337, allocations: 0.5089 MB / 394.7 MB, free: 1.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006333/0.34, allocations: 4.9 MB / 399.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006037/0.3406, allocations: 316.3 kB / 399.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=61): time 2.474e-06/0.3407, allocations: 0 / 399.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.005481/0.3461, allocations: 2.402 MB / 402.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.3462, allocations: 70.27 kB / 402.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.3478, allocations: 1.28 MB / 403.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.3479, allocations: 33.27 kB / 403.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006931/0.3486, allocations: 0.7028 MB / 404.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.3488, allocations: 219.1 kB / 404.6 MB, free: 9.582 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.349, allocations: 122.5 kB / 404.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3492, allocations: 332.4 kB / 405 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/0.3496, allocations: 216.4 kB / 405.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/0.3502, allocations: 362.2 kB / 405.6 MB, free: 8.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.3513, allocations: 0.6117 MB / 406.2 MB, free: 8.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3513, allocations: 0 / 406.2 MB, free: 8.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001949/0.3533, allocations: 0.9693 MB / 407.2 MB, free: 7.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3533, allocations: 6.5 kB / 407.2 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001023/0.3534, allocations: 67.94 kB / 407.3 MB, free: 7.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/0.3539, allocations: 189.2 kB / 407.4 MB, free: 7.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.3544, allocations: 111.8 kB / 407.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.3579, allocations: 2.759 MB / 410.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007146/0.3586, allocations: 28.03 kB / 410.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-05/0.3587, allocations: 32 kB / 410.4 MB, free: 4.016 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.0004974/0.3592, allocations: 276.8 kB / 410.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.3595, allocations: 181.8 kB / 410.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.3616, allocations: 0.9692 MB / 411.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.3616, allocations: 4 kB / 411.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3616, allocations: 4 kB / 411.8 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3616, allocations: 3.984 kB / 411.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.363, allocations: 0.912 MB / 412.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.988e-05/0.3631, allocations: 60.09 kB / 412.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.3634, allocations: 70.91 kB / 412.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/0.3639, allocations: 180.6 kB / 413 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/0.3639, allocations: 15.98 kB / 413 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/0.3674, allocations: 2.756 MB / 415.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3674, allocations: 0 / 415.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.3698, allocations: 1.177 MB / 417 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/0.3704, allocations: 255 kB / 417.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.3706, allocations: 17.38 kB / 417.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.371, allocations: 27.91 kB / 417.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.3711, allocations: 44.38 kB / 417.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.154e-05/0.3712, allocations: 24 kB / 417.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001239/0.3724, allocations: 0.8574 MB / 418.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3724, allocations: 0 / 418.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001096/0.3735, allocations: 383.8 kB / 418.6 MB, free: 11.61 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.0008095/0.3744, allocations: 465.5 kB / 419 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.3764, allocations: 0.9248 MB / 419.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3764, allocations: 3.938 kB / 419.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.3776, allocations: 0.653 MB / 420.6 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.3788, allocations: 205.2 kB / 420.8 MB, free: 9.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.3828, allocations: 2.5 MB / 423.3 MB, free: 6.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008467/0.3837, allocations: 1.17 MB / 424.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.3839, allocations: 95.42 kB / 424.6 MB, free: 5.531 MB / 334.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3839, allocations: 3.938 kB / 424.6 MB, free: 5.527 MB / 334.1 MB Notification: Performance of Templates: time 0.03446/0.4184, allocations: 24.16 MB / 448.7 MB, free: 13.37 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches