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.SMPM_OpenCircuit.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.3 MB / 241.4 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007451/0.000745, allocations: 91.14 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002995, allocations: 8 kB / 352.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2226, allocations: 50.41 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.369/0.5916, allocations: 149.2 MB / 0.539 GB, free: 48.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.5919, allocations: 111.1 kB / 0.5391 GB, free: 48.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.677/1.269, allocations: 232 MB / 0.7657 GB, free: 60.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.139e-05/1.269, allocations: 0 / 0.7657 GB, free: 60.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009829/1.27, allocations: 161.3 kB / 0.7658 GB, free: 60.76 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02473/1.295, allocations: 7.206 MB / 0.7729 GB, free: 53.51 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.295, allocations: 12.02 kB / 0.7729 GB, free: 53.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01973/1.315, allocations: 3.674 MB / 0.7765 GB, free: 49.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/1.328, allocations: 5.483 MB / 0.7818 GB, free: 44.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005975/1.329, allocations: 0.521 MB / 0.7823 GB, free: 43.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003066/1.332, allocations: 0.6947 MB / 0.783 GB, free: 43.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03062/1.363, allocations: 11.21 MB / 0.794 GB, free: 31.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004811/1.363, allocations: 11.89 kB / 0.794 GB, free: 31.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002772/1.366, allocations: 304.1 kB / 0.7943 GB, free: 31.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006037/1.367, allocations: 0.5068 MB / 0.7947 GB, free: 30.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02332/1.39, allocations: 10.23 MB / 0.8047 GB, free: 20.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.344/1.734, allocations: 37.91 MB / 0.8418 GB, free: 63.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01537/1.75, allocations: 28.15 MB / 0.8693 GB, free: 38.24 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004778/1.754, allocations: 2.598 MB / 0.8718 GB, free: 38.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01366/1.768, allocations: 7.932 MB / 0.8795 GB, free: 37.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/1.768, allocations: 62.53 kB / 0.8796 GB, free: 37.21 MB / 458.7 MB Notification: Performance of pre-optimization done (n=217): time 5.01e-06/1.768, allocations: 0 / 0.8796 GB, free: 37.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=233): time 0.019/1.787, allocations: 10.33 MB / 0.8897 GB, free: 35.94 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001691/1.789, allocations: 1.921 MB / 0.8916 GB, free: 34.47 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005809/1.795, allocations: 3.783 MB / 0.8953 GB, free: 34.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004559/1.795, allocations: 63.2 kB / 0.8953 GB, free: 34.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00199/1.797, allocations: 3.542 MB / 0.8988 GB, free: 32.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009281/1.798, allocations: 0.8305 MB / 0.8996 GB, free: 31.69 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/1.798, allocations: 93.34 kB / 0.8997 GB, free: 31.69 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002369/1.799, allocations: 0.4913 MB / 0.9002 GB, free: 31.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002576/1.801, allocations: 1.878 MB / 0.902 GB, free: 31.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003424/1.805, allocations: 4.322 MB / 0.9062 GB, free: 28.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006596/1.811, allocations: 6.699 MB / 0.9128 GB, free: 25.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.624e-05/1.811, allocations: 21.41 kB / 0.9128 GB, free: 25.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01173/1.823, allocations: 6.917 MB / 0.9195 GB, free: 24.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.692e-05/1.823, allocations: 41.97 kB / 0.9196 GB, free: 24.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/1.823, allocations: 84.77 kB / 0.9197 GB, free: 24.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/1.825, allocations: 0.7388 MB / 0.9204 GB, free: 24.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003655/1.829, allocations: 1.098 MB / 0.9214 GB, free: 24.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006109/1.835, allocations: 5.247 MB / 0.9266 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004364/1.839, allocations: 309.9 kB / 0.9269 GB, free: 23.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008236/1.84, allocations: 267.3 kB / 0.9271 GB, free: 23.32 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 385 * 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 (584): * Single equations (assignments): 581 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005543/1.846, allocations: 2.519 MB / 0.9296 GB, free: 23.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001045/1.847, allocations: 389 kB / 0.9299 GB, free: 22.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00684/1.854, allocations: 4.233 MB / 0.9341 GB, free: 21.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/1.854, allocations: 23.66 kB / 0.9341 GB, free: 21.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.854, allocations: 13.58 kB / 0.9341 GB, free: 21.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/1.854, allocations: 9.609 kB / 0.9341 GB, free: 21.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02192/1.876, allocations: 14.18 MB / 0.948 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/1.876, allocations: 10.62 kB / 0.948 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/1.877, allocations: 470.6 kB / 0.9484 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/1.879, allocations: 0.6943 MB / 0.9491 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/1.879, allocations: 65.22 kB / 0.9492 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007132/1.887, allocations: 6.955 MB / 0.956 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001339/1.888, allocations: 1.87 MB / 0.9578 GB, free: 8.867 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009134/1.897, allocations: 6.643 MB / 0.9643 GB, free: 5.535 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002415/1.9, allocations: 0.7933 MB / 0.9651 GB, free: 5.027 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008099/1.9, allocations: 56.64 kB / 0.9651 GB, free: 4.996 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/1.902, allocations: 171 kB / 0.9653 GB, free: 4.957 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004943/1.903, allocations: 231.5 kB / 0.9655 GB, free: 4.895 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/1.903, allocations: 86.67 kB / 0.9656 GB, free: 4.879 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004486/1.907, allocations: 2.472 MB / 0.968 GB, free: 3.922 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.908, allocations: 7.031 kB / 0.968 GB, free: 3.918 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006444/1.914, allocations: 1.347 MB / 0.9693 GB, free: 3.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001216/1.915, allocations: 0.5861 MB / 0.9699 GB, free: 3.527 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00807/1.923, allocations: 5.074 MB / 0.9748 GB, free: 128 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/1.923, allocations: 0 / 0.9748 GB, free: 128 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003943/1.927, allocations: 2.396 MB / 0.9772 GB, free: 14.01 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01057/1.938, allocations: 0.9309 MB / 0.9781 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02791/1.966, allocations: 14.9 MB / 0.9926 GB, free: 15.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00625/1.972, allocations: 4.49 MB / 0.997 GB, free: 12.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005184/1.977, allocations: 1.364 MB / 0.9983 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009267/1.978, allocations: 296 kB / 0.9986 GB, free: 11.29 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/1.978, allocations: 0 / 0.9986 GB, free: 11.29 MB / 490.7 MB Notification: Performance of Templates: time 0.3938/2.372, allocations: 58.05 MB / 1.055 GB, free: 93.11 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches