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.001343/0.001343, allocations: 73.33 kB / 21.24 MB, free: 0.5547 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.001474/0.001474, allocations: 150.9 kB / 24.49 MB, free: 3.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.41/1.41, allocations: 173.4 MB / 201.1 MB, free: 12.67 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.00157/0.00157, allocations: 54.36 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08604/0.08761, allocations: 52.16 MB / 371.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03207/0.1197, allocations: 26.08 MB / 397.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01755/0.1372, allocations: 8.343 MB / 406 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00469/0.1419, allocations: 218.9 kB / 406.2 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01255/0.1545, allocations: 4.829 MB / 411.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009182/0.1637, allocations: 3.049 MB / 414.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004462/0.1681, allocations: 1.559 MB / 415.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01191/0.18, allocations: 8.772 MB / 424.4 MB, free: 2.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01415/0.1942, allocations: 9.084 MB / 433.5 MB, free: 9.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006925/0.2011, allocations: 4.34 MB / 437.9 MB, free: 4.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008101/0.2092, allocations: 4.53 MB / 442.4 MB, free: 204 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002682/0.2119, allocations: 1.16 MB / 443.6 MB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004447/0.2163, allocations: 1.507 MB / 445.1 MB, free: 13.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003145/0.2195, allocations: 2.412 MB / 447.5 MB, free: 11.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005932/0.2254, allocations: 3.653 MB / 451.1 MB, free: 7.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01796/0.2434, allocations: 15.9 MB / 467 MB, free: 7.496 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2434, allocations: 0 / 467 MB, free: 7.496 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2434, allocations: 0 / 467 MB, free: 7.496 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004202/0.2438, allocations: 0 / 467 MB, free: 7.496 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.2035/0.4473, allocations: 9.831 MB / 476.9 MB, free: 83.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.4473, allocations: 12.17 kB / 476.9 MB, free: 83.15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0302/0.4775, allocations: 5.317 MB / 482.2 MB, free: 82.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009793/0.4873, allocations: 5.083 MB / 487.3 MB, free: 79.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/0.4877, allocations: 0.537 MB / 487.8 MB, free: 79.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002237/0.4899, allocations: 0.7079 MB / 488.5 MB, free: 79.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01848/0.5084, allocations: 11.55 MB / 0.4884 GB, free: 69.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/0.5086, allocations: 19.89 kB / 0.4884 GB, free: 69.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000719/0.5093, allocations: 295.6 kB / 0.4887 GB, free: 69.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003005/0.5096, allocations: 454.9 kB / 0.4891 GB, free: 68.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/0.5257, allocations: 10.78 MB / 0.4996 GB, free: 57.78 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04248/0.5682, allocations: 32.55 MB / 0.5314 GB, free: 24.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.5787, allocations: 7.386 MB / 0.5386 GB, free: 18.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003053/0.5818, allocations: 2.42 MB / 0.541 GB, free: 16.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.5921, allocations: 6.805 MB / 0.5476 GB, free: 9.613 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.5921, allocations: 56.56 kB / 0.5477 GB, free: 9.551 MB / 430.1 MB Notification: Performance of pre-optimization done (n=217): time 4.318e-06/0.5921, allocations: 0 / 0.5477 GB, free: 9.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=233): time 0.01701/0.6091, allocations: 10.26 MB / 0.5577 GB, free: 15.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002136/0.6113, allocations: 1.85 MB / 0.5595 GB, free: 13.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005289/0.6166, allocations: 3.618 MB / 0.563 GB, free: 9.711 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002501/0.6168, allocations: 61.7 kB / 0.5631 GB, free: 9.645 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002879/0.6197, allocations: 3.7 MB / 0.5667 GB, free: 5.938 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000904/0.6206, allocations: 0.8716 MB / 0.5676 GB, free: 5.074 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001446/0.622, allocations: 0.9653 MB / 0.5685 GB, free: 4.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6222, allocations: 309.1 kB / 0.5688 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/0.6252, allocations: 1.891 MB / 0.5706 GB, free: 1.895 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005285/0.6305, allocations: 4.446 MB / 0.575 GB, free: 12.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/0.6419, allocations: 6.78 MB / 0.5816 GB, free: 4.219 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.003e-05/0.642, allocations: 26.16 kB / 0.5816 GB, free: 4.195 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01928/0.6613, allocations: 6.954 MB / 0.5884 GB, free: 13.22 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.6614, allocations: 40 kB / 0.5885 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001662/0.6615, allocations: 92.03 kB / 0.5885 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003102/0.6646, allocations: 0.7471 MB / 0.5893 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005959/0.6706, allocations: 1.115 MB / 0.5904 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/0.6828, allocations: 5.407 MB / 0.5956 GB, free: 5.715 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00577/0.6885, allocations: 311.5 kB / 0.5959 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008737/0.6894, allocations: 272 kB / 0.5962 GB, free: 5.145 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.006203/0.6956, allocations: 2.529 MB / 0.5987 GB, free: 2.602 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/0.6969, allocations: 377.6 kB / 0.599 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008653/0.7055, allocations: 4.225 MB / 0.6032 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.347e-05/0.7056, allocations: 24 kB / 0.6032 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/0.7056, allocations: 11.98 kB / 0.6032 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/0.7056, allocations: 11.95 kB / 0.6032 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02377/0.7294, allocations: 12.62 MB / 0.6155 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/0.7294, allocations: 12 kB / 0.6155 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/0.7314, allocations: 476.1 kB / 0.616 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002143/0.7336, allocations: 0.6968 MB / 0.6167 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/0.7338, allocations: 71.98 kB / 0.6167 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.7441, allocations: 7.126 MB / 0.6237 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001995/0.7461, allocations: 1.815 MB / 0.6255 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/0.7572, allocations: 6.716 MB / 0.632 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002199/0.7594, allocations: 0.7082 MB / 0.6327 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008355/0.7602, allocations: 60 kB / 0.6328 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/0.7624, allocations: 167.8 kB / 0.6329 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004733/0.7629, allocations: 245.1 kB / 0.6332 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002183/0.7631, allocations: 91.98 kB / 0.6333 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004191/0.7673, allocations: 2.256 MB / 0.6355 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.7673, allocations: 0 / 0.6355 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004907/0.7722, allocations: 1.289 MB / 0.6367 GB, free: 10.75 MB / 0.5137 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.0005177/0.7727, allocations: 230.6 kB / 0.6369 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00846/0.7811, allocations: 4.812 MB / 0.6416 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/0.7812, allocations: 4 kB / 0.6416 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004067/0.7852, allocations: 2.173 MB / 0.6438 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004825/0.7901, allocations: 0.8498 MB / 0.6446 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/0.8119, allocations: 12.53 MB / 0.6568 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004965/0.8169, allocations: 4.019 MB / 0.6608 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003717/0.8206, allocations: 1.322 MB / 0.6621 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008043/0.8214, allocations: 284.4 kB / 0.6623 GB, free: 244 kB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/0.8214, allocations: 4 kB / 0.6623 GB, free: 240 kB / 0.5294 GB Notification: Performance of Templates: time 0.2505/1.072, allocations: 47.69 MB / 0.7089 GB, free: 145.8 MB / 0.5294 GB " [Timeout remaining time 659] 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 -s ida -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/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/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: 6.975084802950732]