Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002199/0.002199, allocations: 210.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 47.92 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2429, allocations: 53.36 MB / 431.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03288/0.2758, allocations: 26.62 MB / 458.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0192/0.295, allocations: 8.561 MB / 466.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005641/0.3007, allocations: 226.9 kB / 467 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01273/0.3134, allocations: 4.643 MB / 471.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.3239, allocations: 3.053 MB / 474.7 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005565/0.3295, allocations: 1.598 MB / 476.3 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01394/0.3435, allocations: 8.864 MB / 485.2 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01526/0.3587, allocations: 9.083 MB / 494.3 MB, free: 7.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00744/0.3662, allocations: 4.351 MB / 498.6 MB, free: 3.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008462/0.3746, allocations: 4.62 MB / 0.4914 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003271/0.3779, allocations: 1.16 MB / 0.4926 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004938/0.3828, allocations: 1.527 MB / 0.4941 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003271/0.3861, allocations: 2.415 MB / 0.4964 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006256/0.3924, allocations: 3.653 MB / 0.5 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01914/0.4115, allocations: 15.94 MB / 0.5155 GB, free: 5.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.4115, allocations: 4 kB / 0.5155 GB, free: 5.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4115, allocations: 0 / 0.5155 GB, free: 5.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003888/0.4119, allocations: 0 / 0.5155 GB, free: 5.984 MB / 430.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.02925/0.4412, allocations: 9.884 MB / 0.5252 GB, free: 12.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4412, allocations: 8.031 kB / 0.5252 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02968/0.4709, allocations: 5.228 MB / 0.5303 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/0.4837, allocations: 5.105 MB / 0.5353 GB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005501/0.4842, allocations: 0.526 MB / 0.5358 GB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002492/0.4867, allocations: 0.7146 MB / 0.5365 GB, free: 336 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2436/0.7304, allocations: 11.58 MB / 0.5478 GB, free: 89.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001979/0.7306, allocations: 13.7 kB / 0.5478 GB, free: 89.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007369/0.7313, allocations: 297.5 kB / 0.5481 GB, free: 88.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004063/0.7317, allocations: 442.6 kB / 0.5485 GB, free: 88.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0174/0.7491, allocations: 10.82 MB / 0.5591 GB, free: 80.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05121/0.8003, allocations: 32.69 MB / 0.591 GB, free: 48.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.812, allocations: 7.431 MB / 0.5983 GB, free: 41.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0039/0.8159, allocations: 2.444 MB / 0.6007 GB, free: 39.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01291/0.8289, allocations: 6.896 MB / 0.6074 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.8289, allocations: 56.56 kB / 0.6075 GB, free: 32.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.589e-06/0.8289, allocations: 4 kB / 0.6075 GB, free: 32.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01754/0.8464, allocations: 10.28 MB / 0.6175 GB, free: 22.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0015/0.8479, allocations: 1.879 MB / 0.6193 GB, free: 20.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004777/0.8527, allocations: 3.635 MB / 0.6229 GB, free: 17.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001962/0.8529, allocations: 65.7 kB / 0.623 GB, free: 17.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001462/0.8544, allocations: 3.696 MB / 0.6266 GB, free: 13.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005425/0.8549, allocations: 0.8711 MB / 0.6274 GB, free: 12.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.8561, allocations: 0.958 MB / 0.6284 GB, free: 11.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.392e-05/0.8561, allocations: 305.1 kB / 0.6286 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/0.8584, allocations: 1.899 MB / 0.6305 GB, free: 9.336 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003167/0.8616, allocations: 4.442 MB / 0.6348 GB, free: 3.648 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008585/0.8702, allocations: 6.804 MB / 0.6415 GB, free: 11.63 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.763e-05/0.8703, allocations: 24 kB / 0.6415 GB, free: 11.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01384/0.8841, allocations: 6.971 MB / 0.6483 GB, free: 4.617 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.401e-05/0.8842, allocations: 47.83 kB / 0.6484 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001469/0.8843, allocations: 84 kB / 0.6484 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/0.8865, allocations: 0.7411 MB / 0.6492 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/0.8904, allocations: 1.123 MB / 0.6503 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008292/0.8987, allocations: 5.409 MB / 0.6555 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003635/0.9023, allocations: 319.3 kB / 0.6558 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005607/0.9029, allocations: 276 kB / 0.6561 GB, free: 12.52 MB / 478.1 MB 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.004482/0.9074, allocations: 2.522 MB / 0.6586 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009255/0.9083, allocations: 377.6 kB / 0.6589 GB, free: 9.617 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008304/0.9166, allocations: 4.233 MB / 0.6631 GB, free: 5.355 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/0.9166, allocations: 27.94 kB / 0.6631 GB, free: 5.328 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.9167, allocations: 7.75 kB / 0.6631 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.466e-05/0.9167, allocations: 11.95 kB / 0.6631 GB, free: 5.312 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02597/0.9426, allocations: 12.67 MB / 0.6755 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.487e-05/0.9427, allocations: 12 kB / 0.6755 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/0.9447, allocations: 488 kB / 0.676 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002207/0.9469, allocations: 0.6944 MB / 0.6766 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002568/0.9471, allocations: 71.98 kB / 0.6767 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/0.9576, allocations: 7.116 MB / 0.6837 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00202/0.9596, allocations: 1.803 MB / 0.6854 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.9715, allocations: 6.735 MB / 0.692 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002331/0.9739, allocations: 0.7199 MB / 0.6927 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008472/0.9747, allocations: 63.98 kB / 0.6928 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/0.9769, allocations: 163.9 kB / 0.6929 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004872/0.9773, allocations: 241.2 kB / 0.6931 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/0.9776, allocations: 91.98 kB / 0.6932 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004231/0.9818, allocations: 2.272 MB / 0.6954 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.9818, allocations: 0 / 0.6954 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004957/0.9867, allocations: 1.289 MB / 0.6967 GB, free: 2.133 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.0005388/0.9873, allocations: 235.5 kB / 0.6969 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00865/0.9959, allocations: 4.823 MB / 0.7016 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.9959, allocations: 0 / 0.7016 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004018/1, allocations: 2.185 MB / 0.7038 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004875/1.005, allocations: 0.8752 MB / 0.7046 GB, free: 10 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02465/1.029, allocations: 12.52 MB / 0.7169 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006569/1.036, allocations: 4.02 MB / 0.7208 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004129/1.04, allocations: 1.326 MB / 0.7221 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009841/1.041, allocations: 295.4 kB / 0.7224 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of SimCode: time 1.322e-06/1.041, allocations: 0 / 0.7224 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of Templates: time 0.3023/1.343, allocations: 56.22 MB / 0.7773 GB, free: 170.4 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.35649686679244]