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.001061/0.001061, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001178/0.001178, allocations: 216.5 kB / 18.74 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2377, allocations: 50.54 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007029/0.2448, allocations: 7.514 MB / 416.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.2561, allocations: 10.73 MB / 427.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007759/0.2569, allocations: 79.31 kB / 427.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.2583, allocations: 0.71 MB / 428.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.2611, allocations: 1.201 MB / 429.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.2625, allocations: 0.674 MB / 430.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003135/0.2656, allocations: 2.564 MB / 432.7 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003717/0.266, allocations: 283.9 kB / 433 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.2665, allocations: 0.4898 MB / 433.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004931/0.267, allocations: 0.5318 MB / 434 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.672e-05/0.2671, allocations: 52 kB / 434.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.2684, allocations: 0.7727 MB / 434.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.2686, allocations: 194.8 kB / 435 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005083/0.2691, allocations: 0.6715 MB / 435.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.2709, allocations: 1.95 MB / 437.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.271, allocations: 0 / 437.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.271, allocations: 0 / 437.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.271, allocations: 0 / 437.6 MB, free: 5.031 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.002603/0.2736, allocations: 1.989 MB / 439.6 MB, free: 2.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.2736, allocations: 8.031 kB / 439.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/0.2739, allocations: 202.5 kB / 439.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.2756, allocations: 1.337 MB / 441.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/0.2757, allocations: 32.94 kB / 441.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.416e-05/0.2758, allocations: 48 kB / 441.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000861/0.2767, allocations: 0.5158 MB / 441.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2767, allocations: 0 / 441.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.2767, allocations: 16 kB / 441.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.2768, allocations: 16 kB / 441.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009055/0.2777, allocations: 468.1 kB / 442.3 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/0.2805, allocations: 2.108 MB / 444.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000949/0.2815, allocations: 0.7118 MB / 445.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006963/0.2822, allocations: 0.5018 MB / 445.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005575/0.2878, allocations: 4.908 MB / 450.5 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005693/0.2884, allocations: 317.9 kB / 450.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.535e-06/0.2884, allocations: 0 / 450.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004721/0.2931, allocations: 2.406 MB / 453.2 MB, free: 4.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.2932, allocations: 63.83 kB / 453.3 MB, free: 4.391 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.2948, allocations: 1.284 MB / 454.6 MB, free: 3.109 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/0.2949, allocations: 37.7 kB / 454.6 MB, free: 3.066 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006222/0.2955, allocations: 0.6918 MB / 455.3 MB, free: 2.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.2957, allocations: 232.7 kB / 455.5 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.2959, allocations: 122.2 kB / 455.6 MB, free: 2.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.296, allocations: 334 kB / 456 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004137/0.2965, allocations: 213.5 kB / 456.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.297, allocations: 360.5 kB / 456.5 MB, free: 1.062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009389/0.2979, allocations: 0.6112 MB / 457.1 MB, free: 408 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.2979, allocations: 4 kB / 457.1 MB, free: 404 kB / 366.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001723/0.2997, allocations: 0.9618 MB / 458.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.2997, allocations: 10.34 kB / 458.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/0.2998, allocations: 63.98 kB / 458.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004707/0.3003, allocations: 189.5 kB / 458.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.3007, allocations: 107.8 kB / 458.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003113/0.3038, allocations: 2.768 MB / 461.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.3043, allocations: 23.98 kB / 461.2 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.3044, allocations: 28 kB / 461.3 MB, free: 12.11 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.000458/0.3049, allocations: 277.6 kB / 461.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.3051, allocations: 181.9 kB / 461.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/0.3069, allocations: 0.9797 MB / 462.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3069, allocations: 11.94 kB / 462.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3069, allocations: 0 / 462.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3069, allocations: 3.984 kB / 462.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009809/0.3079, allocations: 0.9095 MB / 463.6 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.34e-05/0.308, allocations: 56 kB / 463.7 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.3083, allocations: 63.95 kB / 463.7 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/0.3087, allocations: 172.7 kB / 463.9 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.425e-05/0.3088, allocations: 27.92 kB / 463.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002899/0.3117, allocations: 2.75 MB / 466.7 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3117, allocations: 0 / 466.7 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.3136, allocations: 1.181 MB / 467.9 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.3139, allocations: 250.9 kB / 468.1 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.3141, allocations: 15.94 kB / 468.1 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.3144, allocations: 27.97 kB / 468.2 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.3145, allocations: 48.38 kB / 468.2 MB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.3146, allocations: 20 kB / 468.2 MB, free: 4.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009827/0.3156, allocations: 0.8613 MB / 469.1 MB, free: 4.039 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3156, allocations: 0 / 469.1 MB, free: 4.039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008826/0.3165, allocations: 383.8 kB / 469.5 MB, free: 3.664 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 (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.0006838/0.3172, allocations: 460.1 kB / 469.9 MB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.3188, allocations: 0.933 MB / 470.8 MB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3188, allocations: 3.938 kB / 470.8 MB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000985/0.3198, allocations: 0.6353 MB / 471.5 MB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007734/0.3206, allocations: 213.8 kB / 471.7 MB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.3238, allocations: 2.409 MB / 474.1 MB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/0.3244, allocations: 1.178 MB / 475.3 MB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004225/0.3249, allocations: 191.1 kB / 475.5 MB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.325, allocations: 83.44 kB / 475.5 MB, free: 13.45 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.325, allocations: 0 / 475.5 MB, free: 13.45 MB / 398.1 MB Notification: Performance of Templates: time 0.02486/0.3499, allocations: 14.23 MB / 489.8 MB, free: 15.27 MB / 414.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches