Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_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.0007597/0.0007597, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.0008255/0.0008254, allocations: 177.7 kB / 18.21 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.113/1.113, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002125/0.0002126, allocations: 7.938 kB / 302.1 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06746/0.06769, allocations: 50.41 MB / 352.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.005225/0.07293, allocations: 7.039 MB / 359.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009963/0.08291, allocations: 10.79 MB / 370.3 MB, free: 1.809 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006624/0.08358, allocations: 39.69 kB / 370.4 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.08488, allocations: 0.6257 MB / 371 MB, free: 1.141 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.08716, allocations: 0.968 MB / 371.9 MB, free: 168 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1264/0.2135, allocations: 492.9 kB / 372.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003225/0.2168, allocations: 2.464 MB / 374.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003857/0.2172, allocations: 250.9 kB / 375.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006384/0.2178, allocations: 455 kB / 375.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006122/0.2185, allocations: 0.5043 MB / 376.1 MB, free: 10 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.2186, allocations: 30.19 kB / 376.1 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.2201, allocations: 0.7449 MB / 376.9 MB, free: 10 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.2203, allocations: 160.4 kB / 377 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005831/0.2208, allocations: 0.6767 MB / 377.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.2221, allocations: 1.397 MB / 379.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2221, allocations: 1.656 kB / 379.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2221, allocations: 0 / 379.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.611e-05/0.2222, allocations: 0 / 379.1 MB, free: 9.469 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.002589/0.2248, allocations: 1.76 MB / 380.9 MB, free: 8.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2248, allocations: 9.516 kB / 380.9 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.2251, allocations: 194.7 kB / 381.1 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.2267, allocations: 1.348 MB / 382.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.2268, allocations: 33.05 kB / 382.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-05/0.2268, allocations: 51.45 kB / 382.5 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008819/0.2277, allocations: 0.5185 MB / 383 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2278, allocations: 4 kB / 383 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.2278, allocations: 26.2 kB / 383 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.2278, allocations: 17.02 kB / 383 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008456/0.2287, allocations: 497.6 kB / 383.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.2312, allocations: 2.096 MB / 385.6 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008209/0.232, allocations: 0.7235 MB / 386.4 MB, free: 6.836 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006221/0.2327, allocations: 0.5342 MB / 386.9 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005374/0.2381, allocations: 6.539 MB / 393.4 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004624/0.2385, allocations: 312.3 kB / 393.7 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=55): time 1.884e-06/0.2386, allocations: 0.9375 kB / 393.7 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of matching and sorting (n=59): time 0.00315/0.2417, allocations: 2.02 MB / 395.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2418, allocations: 62.09 kB / 395.8 MB, free: 15.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.2431, allocations: 1.302 MB / 397.1 MB, free: 14.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.2431, allocations: 35.48 kB / 397.1 MB, free: 14.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004991/0.2437, allocations: 0.716 MB / 397.9 MB, free: 14.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.2438, allocations: 195.9 kB / 398.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/0.2439, allocations: 60.58 kB / 398.1 MB, free: 14.03 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.244, allocations: 335.9 kB / 398.4 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.2443, allocations: 206.1 kB / 398.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.2448, allocations: 377.8 kB / 399 MB, free: 13.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008204/0.2456, allocations: 0.6164 MB / 399.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2456, allocations: 0 / 399.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001301/0.2469, allocations: 0.9348 MB / 400.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.247, allocations: 8.656 kB / 400.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.384e-05/0.247, allocations: 63.17 kB / 400.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003257/0.2474, allocations: 159.1 kB / 400.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.2477, allocations: 116.3 kB / 400.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.2499, allocations: 2.305 MB / 403.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.2503, allocations: 37.53 kB / 403.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.2503, allocations: 31.59 kB / 403.3 MB, free: 10.37 MB / 318.1 MB 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.0003333/0.2507, allocations: 275 kB / 403.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.2508, allocations: 183.6 kB / 403.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.2525, allocations: 0.9044 MB / 404.6 MB, free: 9.273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.2525, allocations: 10.38 kB / 404.6 MB, free: 9.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2525, allocations: 7.938 kB / 404.6 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2525, allocations: 7.984 kB / 404.7 MB, free: 9.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008653/0.2534, allocations: 0.861 MB / 405.5 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.088e-05/0.2534, allocations: 59.92 kB / 405.6 MB, free: 8.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.2537, allocations: 67.89 kB / 405.6 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002998/0.254, allocations: 147.2 kB / 405.8 MB, free: 8.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.2541, allocations: 23.98 kB / 405.8 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.2562, allocations: 2.281 MB / 408.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2562, allocations: 3.938 kB / 408.1 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.2578, allocations: 1.104 MB / 409.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.258, allocations: 239.3 kB / 409.4 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.2582, allocations: 15.98 kB / 409.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.2585, allocations: 23.98 kB / 409.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.2586, allocations: 52.3 kB / 409.5 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.2586, allocations: 20 kB / 409.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008157/0.2595, allocations: 0.8617 MB / 410.4 MB, free: 3.301 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.253e-06/0.2595, allocations: 0 / 410.4 MB, free: 3.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000736/0.2602, allocations: 379.7 kB / 410.8 MB, free: 2.93 MB / 318.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.0005821/0.2608, allocations: 460.3 kB / 411.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.2621, allocations: 0.8756 MB / 412.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2621, allocations: 0 / 412.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008119/0.2629, allocations: 0.5903 MB / 412.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007745/0.2637, allocations: 198.4 kB / 412.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.2668, allocations: 2.964 MB / 415.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.2674, allocations: 1.178 MB / 417 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.2675, allocations: 83.44 kB / 417.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2675, allocations: 0 / 417.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of Templates: time 0.0234/0.2909, allocations: 23.82 MB / 440.9 MB, free: 4.738 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches