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.001714/0.001714, allocations: 81.42 kB / 20.68 MB, free: 1.023 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.001413/0.001413, allocations: 145.7 kB / 23.94 MB, free: 4.168 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.39/1.39, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 179] 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 1.483e-06/1.483e-06, allocations: 0 / 319 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.339e-05, allocations: 6.219 kB / 319 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03029/0.03031, allocations: 26.1 MB / 345.1 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01922/0.04953, allocations: 8.342 MB / 353.4 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005766/0.0553, allocations: 218.9 kB / 353.6 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01279/0.06808, allocations: 4.858 MB / 358.5 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009967/0.07805, allocations: 3.112 MB / 361.6 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0048/0.08285, allocations: 1.574 MB / 363.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01358/0.09642, allocations: 9.088 MB / 372.2 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01469/0.1111, allocations: 9.114 MB / 381.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01072/0.1218, allocations: 6.356 MB / 387.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007249/0.1291, allocations: 4.053 MB / 391.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002211/0.1313, allocations: 1.164 MB / 392.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.1348, allocations: 1.523 MB / 394.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002459/0.1372, allocations: 2.458 MB / 396.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005122/0.1423, allocations: 3.146 MB / 400.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01878/0.1611, allocations: 16 MB / 416.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1611, allocations: 0 / 416.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1611, allocations: 0 / 416.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003378/0.1615, allocations: 0 / 416.1 MB, free: 10.21 MB / 382.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.02983/0.1913, allocations: 9.759 MB / 425.8 MB, free: 372 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1913, allocations: 8.922 kB / 425.8 MB, free: 364 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03111/0.2225, allocations: 5.321 MB / 431.2 MB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01184/0.2343, allocations: 5.074 MB / 436.2 MB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006501/0.2349, allocations: 0.5377 MB / 436.8 MB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002767/0.2377, allocations: 0.7108 MB / 437.5 MB, free: 4.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02931/0.267, allocations: 11.55 MB / 449 MB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003195/0.2673, allocations: 23.78 kB / 449 MB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001978/0.2693, allocations: 296 kB / 449.3 MB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005487/0.2699, allocations: 446.9 kB / 449.8 MB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02227/0.2921, allocations: 10.78 MB / 460.6 MB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2216/0.5138, allocations: 32.54 MB / 493.1 MB, free: 104.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01357/0.5273, allocations: 7.364 MB / 0.4887 GB, free: 102.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003767/0.5311, allocations: 2.422 MB / 0.4911 GB, free: 101.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.5429, allocations: 6.805 MB / 0.4977 GB, free: 98.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.5429, allocations: 56.41 kB / 0.4978 GB, free: 98.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=217): time 4.519e-06/0.5429, allocations: 0 / 0.4978 GB, free: 98.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=233): time 0.01799/0.5609, allocations: 10.26 MB / 0.5078 GB, free: 92.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00159/0.5625, allocations: 1.867 MB / 0.5096 GB, free: 91.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005582/0.5681, allocations: 3.617 MB / 0.5132 GB, free: 89.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006058/0.5687, allocations: 61.64 kB / 0.5132 GB, free: 89.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001861/0.5706, allocations: 3.682 MB / 0.5168 GB, free: 86.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007539/0.5713, allocations: 0.8497 MB / 0.5177 GB, free: 85.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.5724, allocations: 0.9472 MB / 0.5186 GB, free: 84.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.5725, allocations: 305.1 kB / 0.5189 GB, free: 84.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/0.5746, allocations: 1.891 MB / 0.5207 GB, free: 82.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002907/0.5775, allocations: 4.447 MB / 0.5251 GB, free: 76.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005564/0.5831, allocations: 6.784 MB / 0.5317 GB, free: 68.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.149e-05/0.5831, allocations: 24 kB / 0.5317 GB, free: 68.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.009743/0.5929, allocations: 6.955 MB / 0.5385 GB, free: 61.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/0.5929, allocations: 44 kB / 0.5385 GB, free: 61.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.772e-05/0.593, allocations: 84 kB / 0.5386 GB, free: 61.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001865/0.5949, allocations: 0.7439 MB / 0.5393 GB, free: 61.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003504/0.5984, allocations: 1.119 MB / 0.5404 GB, free: 59.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006006/0.6044, allocations: 5.417 MB / 0.5457 GB, free: 54.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00385/0.6082, allocations: 311.5 kB / 0.546 GB, free: 54.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006545/0.6089, allocations: 279.7 kB / 0.5463 GB, free: 53.87 MB / 430.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.003722/0.6126, allocations: 2.518 MB / 0.5488 GB, free: 51.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008652/0.6135, allocations: 373.6 kB / 0.5491 GB, free: 50.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006419/0.6199, allocations: 4.237 MB / 0.5532 GB, free: 46.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.6199, allocations: 24 kB / 0.5533 GB, free: 46.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.6199, allocations: 8 kB / 0.5533 GB, free: 46.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.62, allocations: 11.95 kB / 0.5533 GB, free: 46.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01845/0.6384, allocations: 12.62 MB / 0.5656 GB, free: 33.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.6384, allocations: 15.98 kB / 0.5656 GB, free: 33.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/0.6402, allocations: 475.2 kB / 0.5661 GB, free: 33.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/0.6421, allocations: 0.6894 MB / 0.5668 GB, free: 32.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/0.6423, allocations: 71.97 kB / 0.5668 GB, free: 32.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007201/0.6495, allocations: 7.122 MB / 0.5738 GB, free: 25.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00127/0.6508, allocations: 1.807 MB / 0.5755 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008335/0.6592, allocations: 6.698 MB / 0.5821 GB, free: 16.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/0.661, allocations: 0.7082 MB / 0.5828 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008135/0.6618, allocations: 71.92 kB / 0.5828 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/0.6639, allocations: 163.8 kB / 0.583 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004348/0.6643, allocations: 225.4 kB / 0.5832 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001941/0.6645, allocations: 96.05 kB / 0.5833 GB, free: 15.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003341/0.6679, allocations: 2.26 MB / 0.5855 GB, free: 12.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6679, allocations: 0 / 0.5855 GB, free: 12.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004409/0.6723, allocations: 1.281 MB / 0.5868 GB, free: 11.6 MB / 430.1 MB 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.0004546/0.6727, allocations: 230.6 kB / 0.587 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006502/0.6792, allocations: 4.819 MB / 0.5917 GB, free: 6.543 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/0.6793, allocations: 4 kB / 0.5917 GB, free: 6.539 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002994/0.6822, allocations: 2.17 MB / 0.5938 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004496/0.6867, allocations: 0.8615 MB / 0.5947 GB, free: 3.504 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/0.7069, allocations: 12.47 MB / 0.6068 GB, free: 6.828 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004697/0.7116, allocations: 4.019 MB / 0.6108 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003663/0.7153, allocations: 1.326 MB / 0.6121 GB, free: 1.418 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008263/0.7161, allocations: 284.5 kB / 0.6123 GB, free: 1.141 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.7161, allocations: 0 / 0.6123 GB, free: 1.141 MB / 446.1 MB Notification: Performance of Templates: time 0.2448/0.9609, allocations: 47.35 MB / 0.6586 GB, free: 149.7 MB / 478.1 MB " [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 -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/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","/var/lib/jenkins/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.745618496090174]