Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 107.1 kB / 17.74 MB, free: 5.438 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.0009985/0.0009985, allocations: 186.5 kB / 18.66 MB, free: 4.516 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.298/1.298, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000995/0.000995, allocations: 39.94 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2087, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.03891/0.2476, allocations: 39.45 MB / 440.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01843/0.2661, allocations: 10.42 MB / 451.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004098/0.2702, allocations: 307 kB / 451.6 MB, free: 6.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01714/0.2874, allocations: 8.577 MB / 460.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008316/0.2957, allocations: 3.476 MB / 463.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005003/0.3007, allocations: 2.326 MB / 466 MB, free: 8.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01301/0.3137, allocations: 12.88 MB / 478.9 MB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02936/0.3431, allocations: 25.32 MB / 0.4924 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00756/0.3507, allocations: 6.814 MB / 0.499 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008786/0.3595, allocations: 7.728 MB / 0.5066 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002387/0.3619, allocations: 1.953 MB / 0.5085 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003684/0.3656, allocations: 2.343 MB / 0.5108 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00314/0.3687, allocations: 3.955 MB / 0.5146 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007193/0.3759, allocations: 7.548 MB / 0.522 GB, free: 3.242 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3587/0.7346, allocations: 25.93 MB / 0.5473 GB, free: 56.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.7346, allocations: 0 / 0.5473 GB, free: 56.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.7347, allocations: 0 / 0.5473 GB, free: 56.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000518/0.7352, allocations: 0 / 0.5473 GB, free: 56.29 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3329 * Number of variables: 3329 Notification: Performance of Generate backend data structure: time 0.03035/0.7655, allocations: 15.28 MB / 0.5623 GB, free: 51.87 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.7656, allocations: 13.53 kB / 0.5623 GB, free: 51.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03041/0.796, allocations: 6.207 MB / 0.5683 GB, free: 50.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/0.8071, allocations: 8.084 MB / 0.5762 GB, free: 48.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004127/0.8076, allocations: 0.909 MB / 0.5771 GB, free: 48.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001707/0.8093, allocations: 1.186 MB / 0.5783 GB, free: 47.87 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02442/0.8337, allocations: 18.66 MB / 0.5965 GB, free: 32.28 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002433/0.834, allocations: 26.41 kB / 0.5965 GB, free: 32.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001149/0.8351, allocations: 0.4894 MB / 0.597 GB, free: 31.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003832/0.8355, allocations: 0.6416 MB / 0.5976 GB, free: 31.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02181/0.8573, allocations: 16.77 MB / 0.614 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0713/0.9287, allocations: 58.28 MB / 0.6709 GB, free: 3.75 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02384/0.9525, allocations: 32.88 MB / 0.703 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005115/0.9577, allocations: 3.706 MB / 0.7066 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/0.9711, allocations: 8.65 MB / 0.7151 GB, free: 2.688 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.9712, allocations: 81.19 kB / 0.7152 GB, free: 2.598 MB / 0.545 GB Notification: Performance of pre-optimization done (n=349): time 4.438e-06/0.9712, allocations: 0 / 0.7152 GB, free: 2.598 MB / 0.545 GB Notification: Performance of matching and sorting (n=389): time 0.03309/1.004, allocations: 17.71 MB / 0.7325 GB, free: 0.8047 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/1.004, allocations: 90.47 kB / 0.7325 GB, free: 0.7031 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006833/1.011, allocations: 5.026 MB / 0.7375 GB, free: 11.68 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0002347/1.011, allocations: 85.7 kB / 0.7375 GB, free: 11.59 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003361/1.015, allocations: 5.636 MB / 0.743 GB, free: 5.945 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001049/1.016, allocations: 1.414 MB / 0.7444 GB, free: 4.551 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001906/1.018, allocations: 1.327 MB / 0.7457 GB, free: 3.215 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.845e-05/1.018, allocations: 309.1 kB / 0.746 GB, free: 2.91 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004297/1.022, allocations: 2.902 MB / 0.7488 GB, free: 4 kB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1771/1.199, allocations: 5.871 MB / 0.7546 GB, free: 220.7 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008368/1.208, allocations: 9.443 MB / 0.7638 GB, free: 214.7 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-05/1.208, allocations: 31 kB / 0.7638 GB, free: 214.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.01272/1.22, allocations: 9.867 MB / 0.7735 GB, free: 211 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.411e-05/1.221, allocations: 54.56 kB / 0.7735 GB, free: 211 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.208e-05/1.221, allocations: 96.66 kB / 0.7736 GB, free: 211 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002149/1.223, allocations: 0.9366 MB / 0.7745 GB, free: 210.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004821/1.228, allocations: 1.584 MB / 0.7761 GB, free: 210.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009313/1.237, allocations: 10.2 MB / 0.786 GB, free: 203.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003878/1.241, allocations: 406.4 kB / 0.7864 GB, free: 203.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004201/1.241, allocations: 357.2 kB / 0.7868 GB, free: 203.5 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (8,38,59.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004983/1.246, allocations: 4.246 MB / 0.7909 GB, free: 200.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006633/1.247, allocations: 0.5449 MB / 0.7914 GB, free: 200.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008767/1.256, allocations: 6.472 MB / 0.7978 GB, free: 195.3 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.011e-05/1.256, allocations: 22.97 kB / 0.7978 GB, free: 195.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/1.256, allocations: 0 / 0.7978 GB, free: 195.3 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.257, allocations: 1.088 MB / 0.7988 GB, free: 194.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005823/1.258, allocations: 66.06 kB / 0.7989 GB, free: 194.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002058/1.26, allocations: 224.9 kB / 0.7991 GB, free: 194.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004526/1.26, allocations: 280.6 kB / 0.7994 GB, free: 194.2 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009139/1.269, allocations: 6.063 MB / 0.8053 GB, free: 189.2 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00875/1.278, allocations: 8.043 MB / 0.8132 GB, free: 182.3 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002466/1.281, allocations: 2.416 MB / 0.8155 GB, free: 180.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0036/1.284, allocations: 3.353 MB / 0.8188 GB, free: 177.3 MB / 0.5763 GB Notification: Performance of Backend: time 3.61e-07/1.284, allocations: 0 / 0.8188 GB, free: 177.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.007924/1.292, allocations: 5.892 MB / 0.8245 GB, free: 171.4 MB / 0.5763 GB Notification: Performance of SimCode: time 0.02295/1.315, allocations: 19.59 MB / 0.8437 GB, free: 151.7 MB / 0.5763 GB Notification: Performance of Templates: time 0.1153/1.431, allocations: 86.99 MB / 0.9286 GB, free: 65.45 MB / 0.5763 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMR_CurrentSource/SMR_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches