Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.00129/0.00129, allocations: 107.2 kB / 18.34 MB, free: 4.676 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.001118/0.001119, allocations: 188.1 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 51.94 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08372/0.08501, allocations: 46.62 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008186/0.09323, allocations: 7.359 MB / 336.1 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.1054, allocations: 10.38 MB / 346.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.1067, allocations: 75.31 kB / 346.5 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.1086, allocations: 0.6906 MB / 347.2 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.1125, allocations: 1.177 MB / 348.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.1143, allocations: 0.6622 MB / 349 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003878/0.1182, allocations: 2.49 MB / 351.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004651/0.1187, allocations: 287.9 kB / 351.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005843/0.1193, allocations: 465.7 kB / 352.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005092/0.1198, allocations: 0.524 MB / 352.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.962e-05/0.1199, allocations: 59.94 kB / 352.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.1213, allocations: 0.7103 MB / 353.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.1215, allocations: 182.8 kB / 353.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005527/0.122, allocations: 0.6715 MB / 354.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.124, allocations: 1.938 MB / 356.4 MB, free: 7.961 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.124, allocations: 0 / 356.4 MB, free: 7.961 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.124, allocations: 0 / 356.4 MB, free: 7.961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.124, allocations: 0 / 356.4 MB, free: 7.961 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.002687/0.1267, allocations: 1.981 MB / 358.3 MB, free: 5.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1268, allocations: 8.031 kB / 358.3 MB, free: 5.914 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.127, allocations: 198.6 kB / 358.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.1287, allocations: 1.341 MB / 359.9 MB, free: 4.328 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.1288, allocations: 37 kB / 359.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.412e-05/0.1289, allocations: 44 kB / 360 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008724/0.1298, allocations: 0.508 MB / 360.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1298, allocations: 0 / 360.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.1298, allocations: 16 kB / 360.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.1299, allocations: 15.98 kB / 360.5 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008731/0.1307, allocations: 484 kB / 361 MB, free: 3.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/0.1335, allocations: 2.092 MB / 363.1 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009363/0.1345, allocations: 0.7001 MB / 363.8 MB, free: 316 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007113/0.1352, allocations: 0.5174 MB / 364.3 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007335/0.1426, allocations: 6.509 MB / 370.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005312/0.1431, allocations: 294.4 kB / 371.1 MB, free: 7.992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=55): time 3.547e-06/0.1431, allocations: 0 / 371.1 MB, free: 7.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=59): time 0.003289/0.1464, allocations: 1.963 MB / 373 MB, free: 5.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.1465, allocations: 55.84 kB / 373.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.1479, allocations: 1.3 MB / 374.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.1479, allocations: 37.7 kB / 374.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/0.1484, allocations: 0.715 MB / 375.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.1486, allocations: 201 kB / 375.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.1488, allocations: 122.2 kB / 375.5 MB, free: 3.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.1489, allocations: 326 kB / 375.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.1493, allocations: 205.5 kB / 376 MB, free: 2.992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/0.1497, allocations: 359.8 kB / 376.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/0.1518, allocations: 1.127 MB / 377.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1518, allocations: 4 kB / 377.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001419/0.1533, allocations: 0.9258 MB / 378.4 MB, free: 448 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1533, allocations: 8 kB / 378.4 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.798e-05/0.1534, allocations: 59.98 kB / 378.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003768/0.1538, allocations: 160.6 kB / 378.6 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.1542, allocations: 111.8 kB / 378.7 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1507/0.305, allocations: 2.507 MB / 381.2 MB, free: 52.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.3056, allocations: 27.88 kB / 381.3 MB, free: 52.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/0.3057, allocations: 35.81 kB / 381.3 MB, free: 52.43 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real T1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real 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.0004455/0.3061, allocations: 277.7 kB / 381.6 MB, free: 52.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.3063, allocations: 187.8 kB / 381.7 MB, free: 52.31 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.3083, allocations: 0.8819 MB / 382.6 MB, free: 52.22 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.3083, allocations: 4.875 kB / 382.6 MB, free: 52.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3083, allocations: 3.469 kB / 382.6 MB, free: 52.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.3083, allocations: 6.047 kB / 382.6 MB, free: 52.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.3094, allocations: 0.8629 MB / 383.5 MB, free: 51.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-05/0.3095, allocations: 61 kB / 383.6 MB, free: 51.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.3098, allocations: 60.17 kB / 383.6 MB, free: 51.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000379/0.3102, allocations: 150.9 kB / 383.8 MB, free: 51.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.3102, allocations: 16.83 kB / 383.8 MB, free: 51.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.3125, allocations: 2.497 MB / 386.3 MB, free: 49.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3125, allocations: 0 / 386.3 MB, free: 49.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.3143, allocations: 1.072 MB / 387.4 MB, free: 49.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.3147, allocations: 250.8 kB / 387.6 MB, free: 49.15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.3148, allocations: 8.484 kB / 387.6 MB, free: 49.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.3152, allocations: 20.91 kB / 387.6 MB, free: 49.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.3153, allocations: 47.81 kB / 387.7 MB, free: 49.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/0.3154, allocations: 23.67 kB / 387.7 MB, free: 49.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001151/0.3165, allocations: 0.8588 MB / 388.6 MB, free: 48.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.3165, allocations: 0 / 388.6 MB, free: 48.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009105/0.3174, allocations: 375.2 kB / 388.9 MB, free: 48.79 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.0007167/0.3182, allocations: 459.6 kB / 389.4 MB, free: 48.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.3199, allocations: 0.8387 MB / 390.2 MB, free: 48.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3199, allocations: 0 / 390.2 MB, free: 48.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009468/0.3209, allocations: 0.5829 MB / 390.8 MB, free: 47.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006939/0.3216, allocations: 184.2 kB / 391 MB, free: 47.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.325, allocations: 2.389 MB / 393.4 MB, free: 46.65 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/0.3257, allocations: 1.171 MB / 394.5 MB, free: 45.92 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004481/0.3262, allocations: 185.3 kB / 394.7 MB, free: 45.87 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.3263, allocations: 82.78 kB / 394.8 MB, free: 45.86 MB / 318.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3263, allocations: 0.8438 kB / 394.8 MB, free: 45.86 MB / 318.1 MB Notification: Performance of Templates: time 0.02258/0.3489, allocations: 13.37 MB / 408.2 MB, free: 36.43 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches