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.001277/0.001277, allocations: 115.5 kB / 18.45 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 206.8 kB / 19.41 MB, free: 3.645 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.401/1.401, allocations: 227.7 MB / 247.9 MB, free: 10.18 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.001921/0.001921, allocations: 67.89 kB / 359.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2244, allocations: 50.54 MB / 410.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008464/0.2328, allocations: 7.541 MB / 417.7 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.246, allocations: 10.76 MB / 428.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.247, allocations: 83.25 kB / 428.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.2489, allocations: 0.7061 MB / 429.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003723/0.2527, allocations: 1.2 MB / 430.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.2545, allocations: 0.6701 MB / 431.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003837/0.2583, allocations: 2.572 MB / 433.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003683/0.2587, allocations: 183.9 kB / 433.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006187/0.2593, allocations: 497.6 kB / 434.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005825/0.2599, allocations: 0.5356 MB / 434.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.283e-05/0.26, allocations: 56 kB / 435 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.2616, allocations: 0.7805 MB / 435.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.2617, allocations: 182.8 kB / 435.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006059/0.2623, allocations: 0.6754 MB / 436.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.2647, allocations: 1.964 MB / 438.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2647, allocations: 0 / 438.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2647, allocations: 0 / 438.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.2648, allocations: 0 / 438.6 MB, free: 4.926 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.00299/0.2677, allocations: 2.042 MB / 440.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.2678, allocations: 12.03 kB / 440.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.268, allocations: 207.7 kB / 440.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.27, allocations: 1.351 MB / 442.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.27, allocations: 36.94 kB / 442.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.211e-05/0.2701, allocations: 43.95 kB / 442.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009903/0.2711, allocations: 0.5158 MB / 442.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.2711, allocations: 0 / 442.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.2711, allocations: 19.98 kB / 442.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.2712, allocations: 19.98 kB / 442.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009914/0.2722, allocations: 468.1 kB / 443.3 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.2755, allocations: 2.105 MB / 445.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.2765, allocations: 0.661 MB / 446 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007294/0.2773, allocations: 457.8 kB / 446.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006321/0.2836, allocations: 4.912 MB / 451.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000601/0.2842, allocations: 314 kB / 451.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.295e-06/0.2842, allocations: 3.938 kB / 451.7 MB, free: 6.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005075/0.2893, allocations: 2.424 MB / 454.1 MB, free: 4.367 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.2893, allocations: 59.84 kB / 454.2 MB, free: 4.297 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.2909, allocations: 1.284 MB / 455.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.2909, allocations: 37.7 kB / 455.5 MB, free: 2.973 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006501/0.2916, allocations: 0.7002 MB / 456.2 MB, free: 2.266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.2918, allocations: 245.9 kB / 456.5 MB, free: 2.023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.292, allocations: 118.3 kB / 456.6 MB, free: 1.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2921, allocations: 334 kB / 456.9 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004583/0.2926, allocations: 213.5 kB / 457.1 MB, free: 1.359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.2931, allocations: 360.5 kB / 457.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.2942, allocations: 0.6112 MB / 458.1 MB, free: 296 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.2942, allocations: 4 kB / 458.1 MB, free: 292 kB / 366.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001749/0.2959, allocations: 0.9664 MB / 459 MB, free: 15.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.296, allocations: 8 kB / 459.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/0.2961, allocations: 64 kB / 459.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004838/0.2966, allocations: 182.7 kB / 459.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004474/0.297, allocations: 107.8 kB / 459.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003419/0.3004, allocations: 2.774 MB / 462.2 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/0.301, allocations: 28.03 kB / 462.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.301, allocations: 28 kB / 462.2 MB, free: 11.99 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.0004513/0.3015, allocations: 269.7 kB / 462.5 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.3017, allocations: 190.8 kB / 462.7 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.3037, allocations: 0.9642 MB / 463.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.3037, allocations: 4 kB / 463.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3037, allocations: 4 kB / 463.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3037, allocations: 7.922 kB / 463.7 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.3048, allocations: 0.9098 MB / 464.6 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.264e-05/0.3049, allocations: 60 kB / 464.6 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.3052, allocations: 63.94 kB / 464.7 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004413/0.3056, allocations: 180.1 kB / 464.9 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.3057, allocations: 23.94 kB / 464.9 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003376/0.3091, allocations: 2.757 MB / 467.6 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3091, allocations: 0 / 467.6 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.3113, allocations: 1.182 MB / 468.8 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.3117, allocations: 256 kB / 469.1 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.3119, allocations: 19.92 kB / 469.1 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.3123, allocations: 20.17 kB / 469.1 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.3124, allocations: 48.38 kB / 469.2 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/0.3125, allocations: 27.92 kB / 469.2 MB, free: 4.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001236/0.3137, allocations: 0.8613 MB / 470.1 MB, free: 3.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3137, allocations: 4 kB / 470.1 MB, free: 3.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001032/0.3147, allocations: 383.2 kB / 470.4 MB, free: 3.539 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.0008363/0.3156, allocations: 463.4 kB / 470.9 MB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.3174, allocations: 0.886 MB / 471.8 MB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3174, allocations: 0 / 471.8 MB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.3185, allocations: 0.6079 MB / 472.4 MB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009488/0.3195, allocations: 210.2 kB / 472.6 MB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.3232, allocations: 2.46 MB / 475 MB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007961/0.324, allocations: 1.174 MB / 476.2 MB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004715/0.3245, allocations: 195.1 kB / 476.4 MB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3247, allocations: 79.44 kB / 476.5 MB, free: 13.35 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3247, allocations: 4 kB / 476.5 MB, free: 13.34 MB / 398.1 MB Notification: Performance of Templates: time 0.02763/0.3523, allocations: 14.32 MB / 490.8 MB, free: 15.1 MB / 414.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 -s gbode -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