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.001296/0.001296, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.397/1.397, allocations: 223.2 MB / 240.3 MB, free: 11.84 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.0009385/0.0009387, allocations: 96.86 kB / 291.5 MB, free: 10.88 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.000277, allocations: 8 kB / 351.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2247, allocations: 50.4 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.6565, allocations: 148.8 MB / 0.5374 GB, free: 48.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.6568, allocations: 105.8 kB / 0.5376 GB, free: 48.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7258/1.383, allocations: 233.7 MB / 0.7657 GB, free: 59.94 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.467e-06/1.383, allocations: 7.984 kB / 0.7657 GB, free: 59.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004834/1.383, allocations: 158 kB / 0.7659 GB, free: 59.79 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.02444/1.408, allocations: 7.273 MB / 0.773 GB, free: 52.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/1.408, allocations: 8.031 kB / 0.773 GB, free: 52.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02086/1.428, allocations: 3.674 MB / 0.7766 GB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01724/1.446, allocations: 6.065 MB / 0.7825 GB, free: 42.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005404/1.446, allocations: 0.5206 MB / 0.783 GB, free: 42.24 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00326/1.45, allocations: 0.6867 MB / 0.7837 GB, free: 41.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02774/1.477, allocations: 11.16 MB / 0.7946 GB, free: 30.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004707/1.478, allocations: 19.75 kB / 0.7946 GB, free: 30.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002996/1.481, allocations: 302 kB / 0.7949 GB, free: 29.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006246/1.482, allocations: 0.5107 MB / 0.7954 GB, free: 29.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02298/1.505, allocations: 10.23 MB / 0.8054 GB, free: 19.14 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3879/1.892, allocations: 37.87 MB / 0.8424 GB, free: 39.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02082/1.913, allocations: 28.17 MB / 0.8699 GB, free: 29.83 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01609/1.929, allocations: 7.972 MB / 0.8777 GB, free: 28.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/1.93, allocations: 60.56 kB / 0.8777 GB, free: 28.78 MB / 458.7 MB Notification: Performance of pre-optimization done (n=222): time 4.669e-06/1.93, allocations: 0 / 0.8777 GB, free: 28.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=238): time 0.02077/1.95, allocations: 10.45 MB / 0.8879 GB, free: 27.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001993/1.952, allocations: 1.955 MB / 0.8898 GB, free: 25.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005733/1.958, allocations: 3.365 MB / 0.8931 GB, free: 25.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005563/1.959, allocations: 64.52 kB / 0.8932 GB, free: 25.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002692/1.961, allocations: 3.53 MB / 0.8966 GB, free: 23.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001642/1.963, allocations: 0.843 MB / 0.8975 GB, free: 23.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/1.963, allocations: 96.69 kB / 0.8975 GB, free: 23.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004214/1.964, allocations: 0.4993 MB / 0.898 GB, free: 22.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003148/1.967, allocations: 1.885 MB / 0.8999 GB, free: 22.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003711/1.971, allocations: 4.31 MB / 0.9041 GB, free: 19.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003803/1.975, allocations: 2.82 MB / 0.9068 GB, free: 19.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.447e-05/1.975, allocations: 24.25 kB / 0.9069 GB, free: 19.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=624) (initialization): time 0.01093/1.986, allocations: 6.941 MB / 0.9136 GB, free: 19.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.1e-05/1.986, allocations: 43.34 kB / 0.9137 GB, free: 19.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/1.986, allocations: 83.19 kB / 0.9138 GB, free: 19.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/1.988, allocations: 0.7545 MB / 0.9145 GB, free: 19.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003505/1.991, allocations: 1.111 MB / 0.9156 GB, free: 19.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00718/1.998, allocations: 5.405 MB / 0.9209 GB, free: 33.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0048/2.003, allocations: 307.5 kB / 0.9212 GB, free: 33.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007657/2.004, allocations: 279.2 kB / 0.9214 GB, free: 33.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 383 * 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 (587): * Single equations (assignments): 584 * 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.005328/2.009, allocations: 2.525 MB / 0.9239 GB, free: 32.97 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/2.01, allocations: 389.1 kB / 0.9243 GB, free: 32.78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007373/2.018, allocations: 4.289 MB / 0.9284 GB, free: 30.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/2.018, allocations: 27.09 kB / 0.9285 GB, free: 30.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/2.018, allocations: 7.312 kB / 0.9285 GB, free: 30.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/2.018, allocations: 16.97 kB / 0.9285 GB, free: 30.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02777/2.046, allocations: 14.26 MB / 0.9424 GB, free: 24.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/2.046, allocations: 9.875 kB / 0.9424 GB, free: 24.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/2.048, allocations: 485.8 kB / 0.9429 GB, free: 24.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00207/2.05, allocations: 0.6976 MB / 0.9436 GB, free: 24.42 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000339/2.05, allocations: 65.64 kB / 0.9436 GB, free: 24.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008279/2.058, allocations: 7.149 MB / 0.9506 GB, free: 19.75 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001706/2.06, allocations: 1.91 MB / 0.9525 GB, free: 18.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/2.072, allocations: 7.868 MB / 0.9602 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002842/2.075, allocations: 0.8019 MB / 0.961 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001308/2.076, allocations: 61.28 kB / 0.961 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002862/2.079, allocations: 174.9 kB / 0.9612 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005067/2.079, allocations: 218 kB / 0.9614 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/2.08, allocations: 89.89 kB / 0.9615 GB, free: 12.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004333/2.084, allocations: 2.472 MB / 0.9639 GB, free: 11.64 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.61e-07/2.084, allocations: 3 kB / 0.9639 GB, free: 11.64 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008901/2.093, allocations: 1.352 MB / 0.9652 GB, free: 10.97 MB / 474.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 (243): * Single equations (assignments): 240 * 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.001328/2.094, allocations: 0.5951 MB / 0.9658 GB, free: 10.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009041/2.103, allocations: 5.113 MB / 0.9708 GB, free: 6.117 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/2.103, allocations: 4 kB / 0.9708 GB, free: 6.113 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004333/2.108, allocations: 2.412 MB / 0.9731 GB, free: 3.945 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005915/2.114, allocations: 0.8981 MB / 0.974 GB, free: 3.242 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/2.146, allocations: 15.28 MB / 0.9889 GB, free: 5.094 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00552/2.151, allocations: 4.613 MB / 0.9934 GB, free: 1.586 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004826/2.156, allocations: 1.396 MB / 0.9948 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008714/2.157, allocations: 297.5 kB / 0.9951 GB, free: 396 kB / 490.7 MB Notification: Performance of SimCode: time 1.824e-06/2.157, allocations: 4 kB / 0.9951 GB, free: 392 kB / 490.7 MB Notification: Performance of Templates: time 0.4132/2.57, allocations: 57.33 MB / 1.051 GB, free: 103.9 MB / 0.4948 GB 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/jenkins/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