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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001332, allocations: 119.4 kB / 18.41 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 192.3 kB / 21.35 MB, free: 1.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 247 MB, free: 4.336 MB / 190.1 MB " [Timeout remaining time 178] 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.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 47.92 kB / 358.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09609, allocations: 49.44 MB / 408.1 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.2214/0.3175, allocations: 30.34 MB / 438.5 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01679/0.3344, allocations: 8.642 MB / 447.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006092/0.3405, allocations: 184 kB / 447.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01272/0.3532, allocations: 4.916 MB / 452.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0096/0.3628, allocations: 2.963 MB / 455.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004459/0.3673, allocations: 1.611 MB / 456.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01397/0.3813, allocations: 8.711 MB / 465.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02082/0.4022, allocations: 12.86 MB / 478.3 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008781/0.411, allocations: 4.219 MB / 482.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009007/0.4201, allocations: 4.741 MB / 487.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003618/0.4237, allocations: 1.164 MB / 488.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005676/0.4294, allocations: 1.519 MB / 490 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003697/0.4331, allocations: 2.408 MB / 492.4 MB, free: 7.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008723/0.4419, allocations: 4.673 MB / 497.1 MB, free: 2.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02103/0.463, allocations: 15.84 MB / 0.5009 GB, free: 2.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.463, allocations: 0 / 0.5009 GB, free: 2.953 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.463, allocations: 4 kB / 0.5009 GB, free: 2.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004573/0.4635, allocations: 3.938 kB / 0.5009 GB, free: 2.945 MB / 398.1 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.03075/0.4943, allocations: 9.932 MB / 0.5106 GB, free: 8.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4943, allocations: 8.031 kB / 0.5106 GB, free: 8.898 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0309/0.5252, allocations: 5.31 MB / 0.5158 GB, free: 3.578 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0115/0.5368, allocations: 5.126 MB / 0.5208 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006329/0.5375, allocations: 0.5298 MB / 0.5213 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003199/0.5407, allocations: 0.7069 MB / 0.522 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02645/0.5671, allocations: 11.32 MB / 0.5331 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002142/0.5674, allocations: 11.95 kB / 0.5331 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001236/0.5686, allocations: 300 kB / 0.5334 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004728/0.5691, allocations: 446.9 kB / 0.5338 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02371/0.5928, allocations: 10.83 MB / 0.5444 GB, free: 6.148 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06782/0.6607, allocations: 37.67 MB / 0.5811 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2446/0.9054, allocations: 28.11 MB / 0.6086 GB, free: 150.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004325/0.9097, allocations: 2.661 MB / 0.6112 GB, free: 150.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01453/0.9243, allocations: 7.904 MB / 0.6189 GB, free: 149.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.9244, allocations: 57.72 kB / 0.619 GB, free: 149.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=217): time 6.613e-06/0.9244, allocations: 0 / 0.619 GB, free: 149.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=233): time 0.02167/0.9461, allocations: 10.47 MB / 0.6292 GB, free: 146 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0017/0.9478, allocations: 2.008 MB / 0.6311 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00632/0.9542, allocations: 3.83 MB / 0.6349 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004407/0.9546, allocations: 65.55 kB / 0.635 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001987/0.9566, allocations: 3.674 MB / 0.6385 GB, free: 140.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009062/0.9576, allocations: 0.8665 MB / 0.6394 GB, free: 139.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/0.959, allocations: 0.9596 MB / 0.6403 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.126e-05/0.9591, allocations: 305 kB / 0.6406 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/0.9616, allocations: 1.889 MB / 0.6425 GB, free: 138.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003272/0.9649, allocations: 4.398 MB / 0.6468 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006206/0.9711, allocations: 6.782 MB / 0.6534 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.125e-05/0.9712, allocations: 22.94 kB / 0.6534 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01089/0.9821, allocations: 7.008 MB / 0.6602 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.525e-05/0.9822, allocations: 41.81 kB / 0.6603 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001519/0.9824, allocations: 89.64 kB / 0.6604 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.9844, allocations: 0.7337 MB / 0.6611 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003485/0.9879, allocations: 1.116 MB / 0.6622 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00612/0.994, allocations: 5.645 MB / 0.6677 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004278/0.9983, allocations: 319.3 kB / 0.668 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006518/0.999, allocations: 275.9 kB / 0.6683 GB, free: 120.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003865/1.003, allocations: 2.528 MB / 0.6707 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/1.004, allocations: 409.3 kB / 0.6711 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006357/1.01, allocations: 4.272 MB / 0.6753 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/1.01, allocations: 24.8 kB / 0.6753 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/1.01, allocations: 4 kB / 0.6753 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.787e-05/1.01, allocations: 11.95 kB / 0.6753 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02134/1.032, allocations: 14.27 MB / 0.6893 GB, free: 99.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/1.032, allocations: 12.97 kB / 0.6893 GB, free: 99.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/1.033, allocations: 483.2 kB / 0.6897 GB, free: 98.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/1.035, allocations: 0.6891 MB / 0.6904 GB, free: 98.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002228/1.036, allocations: 71.98 kB / 0.6905 GB, free: 98.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007307/1.043, allocations: 7.506 MB / 0.6978 GB, free: 90.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00131/1.044, allocations: 1.953 MB / 0.6997 GB, free: 88.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008642/1.053, allocations: 6.765 MB / 0.7063 GB, free: 81.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002034/1.055, allocations: 0.8145 MB / 0.7071 GB, free: 80.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009212/1.056, allocations: 63.92 kB / 0.7072 GB, free: 80.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/1.058, allocations: 167.9 kB / 0.7073 GB, free: 80.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004128/1.059, allocations: 217.4 kB / 0.7075 GB, free: 79.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/1.059, allocations: 91.97 kB / 0.7076 GB, free: 79.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003526/1.062, allocations: 2.509 MB / 0.7101 GB, free: 77.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.51e-07/1.062, allocations: 0 / 0.7101 GB, free: 77.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005514/1.068, allocations: 1.293 MB / 0.7113 GB, free: 76.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00061/1.068, allocations: 230.8 kB / 0.7116 GB, free: 75.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006866/1.075, allocations: 5.18 MB / 0.7166 GB, free: 70.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/1.075, allocations: 4 kB / 0.7166 GB, free: 70.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003266/1.079, allocations: 2.405 MB / 0.719 GB, free: 68.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005304/1.084, allocations: 0.9887 MB / 0.7199 GB, free: 67.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/1.103, allocations: 12.41 MB / 0.7321 GB, free: 54.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003716/1.106, allocations: 4.378 MB / 0.7363 GB, free: 50.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.108, allocations: 331.4 kB / 0.7367 GB, free: 49.88 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/1.108, allocations: 4 kB / 0.7367 GB, free: 49.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.417/1.525, allocations: 201.3 MB / 0.9332 GB, free: 46.89 MB / 0.5137 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.661422534030862]