Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001479/0.001479, allocations: 109.1 kB / 21.18 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001932/0.001932, allocations: 217.3 kB / 24.49 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 55.91 kB / 379.1 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3195, allocations: 53.41 MB / 432.5 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03746/0.3569, allocations: 31.17 MB / 463.6 MB, free: 7.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02069/0.3776, allocations: 8.931 MB / 472.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006887/0.3845, allocations: 222.9 kB / 472.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01421/0.3987, allocations: 5.023 MB / 477.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.4104, allocations: 3.12 MB / 480.9 MB, free: 6.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005894/0.4163, allocations: 1.666 MB / 482.6 MB, free: 4.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0151/0.4314, allocations: 8.878 MB / 491.5 MB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0203/0.4517, allocations: 9.222 MB / 0.489 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008972/0.4607, allocations: 4.343 MB / 0.4932 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009373/0.4701, allocations: 4.901 MB / 0.498 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00379/0.4739, allocations: 1.164 MB / 0.4991 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005648/0.4795, allocations: 1.562 MB / 0.5007 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004521/0.484, allocations: 2.415 MB / 0.503 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01102/0.495, allocations: 4.673 MB / 0.5076 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0247/0.5197, allocations: 15.89 MB / 0.5231 GB, free: 15.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.5198, allocations: 0 / 0.5231 GB, free: 15.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5198, allocations: 0 / 0.5231 GB, free: 15.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005253/0.5203, allocations: 3.938 kB / 0.5231 GB, free: 15.18 MB / 446.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.03382/0.5541, allocations: 9.892 MB / 0.5328 GB, free: 5.199 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.5542, allocations: 8.031 kB / 0.5328 GB, free: 5.191 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2655/0.8197, allocations: 5.223 MB / 0.5379 GB, free: 90.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/0.8315, allocations: 5.151 MB / 0.5429 GB, free: 89.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003271/0.8318, allocations: 0.5303 MB / 0.5434 GB, free: 88.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001945/0.8338, allocations: 0.7105 MB / 0.5441 GB, free: 88.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01924/0.853, allocations: 11.35 MB / 0.5552 GB, free: 84.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002089/0.8532, allocations: 14.42 kB / 0.5552 GB, free: 84.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009521/0.8542, allocations: 306.7 kB / 0.5555 GB, free: 83.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004494/0.8546, allocations: 447 kB / 0.5559 GB, free: 83.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/0.8728, allocations: 10.87 MB / 0.5665 GB, free: 75.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05867/0.9315, allocations: 36.69 MB / 0.6024 GB, free: 38.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/0.9432, allocations: 7.507 MB / 0.6097 GB, free: 32.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003697/0.9469, allocations: 2.448 MB / 0.6121 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01376/0.9606, allocations: 7.585 MB / 0.6195 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.9607, allocations: 60.5 kB / 0.6196 GB, free: 22.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.248e-06/0.9607, allocations: 0 / 0.6196 GB, free: 22.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.0202/0.9809, allocations: 10.32 MB / 0.6296 GB, free: 11.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001635/0.9825, allocations: 1.908 MB / 0.6315 GB, free: 9.848 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006489/0.989, allocations: 3.835 MB / 0.6352 GB, free: 5.984 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004755/0.9895, allocations: 69.7 kB / 0.6353 GB, free: 5.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001857/0.9913, allocations: 3.686 MB / 0.6389 GB, free: 2.219 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009384/0.9923, allocations: 0.8682 MB / 0.6398 GB, free: 1.363 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00192/0.9942, allocations: 0.9691 MB / 0.6407 GB, free: 392 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.092e-05/0.9942, allocations: 305.1 kB / 0.641 GB, free: 84 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003674/0.9979, allocations: 1.897 MB / 0.6428 GB, free: 14.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005984/1.004, allocations: 4.392 MB / 0.6471 GB, free: 8.551 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/1.014, allocations: 6.796 MB / 0.6538 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001/1.014, allocations: 24 kB / 0.6538 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.0159/1.03, allocations: 7.005 MB / 0.6606 GB, free: 9.496 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/1.03, allocations: 43.98 kB / 0.6607 GB, free: 9.453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001984/1.03, allocations: 88 kB / 0.6608 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/1.033, allocations: 0.7338 MB / 0.6615 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0043/1.037, allocations: 1.123 MB / 0.6626 GB, free: 7.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008934/1.046, allocations: 5.541 MB / 0.668 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004374/1.05, allocations: 311.4 kB / 0.6683 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009542/1.051, allocations: 280 kB / 0.6686 GB, free: 1.262 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.005761/1.057, allocations: 2.518 MB / 0.671 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/1.059, allocations: 413.4 kB / 0.6714 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009742/1.068, allocations: 4.252 MB / 0.6756 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.319e-05/1.068, allocations: 27.94 kB / 0.6756 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-05/1.068, allocations: 8 kB / 0.6756 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.624e-05/1.068, allocations: 15.95 kB / 0.6756 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03568/1.104, allocations: 14.01 MB / 0.6893 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.594e-05/1.104, allocations: 12 kB / 0.6893 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002265/1.106, allocations: 491 kB / 0.6898 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/1.109, allocations: 0.6865 MB / 0.6904 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003703/1.109, allocations: 71.97 kB / 0.6905 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/1.12, allocations: 7.293 MB / 0.6976 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002124/1.122, allocations: 1.865 MB / 0.6994 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/1.136, allocations: 6.754 MB / 0.706 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002821/1.138, allocations: 0.7587 MB / 0.7068 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/1.14, allocations: 63.98 kB / 0.7068 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002748/1.142, allocations: 159.9 kB / 0.707 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007037/1.143, allocations: 233.3 kB / 0.7072 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003757/1.143, allocations: 91.98 kB / 0.7073 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005593/1.149, allocations: 2.522 MB / 0.7098 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/1.149, allocations: 0 / 0.7098 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006831/1.156, allocations: 1.293 MB / 0.711 GB, free: 4.828 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.001028/1.157, allocations: 234.8 kB / 0.7113 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01052/1.167, allocations: 4.827 MB / 0.716 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.296e-05/1.167, allocations: 4.312 kB / 0.716 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005021/1.172, allocations: 2.181 MB / 0.7181 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007643/1.18, allocations: 0.9961 MB / 0.7191 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/1.21, allocations: 12.48 MB / 0.7313 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00668/1.216, allocations: 4.383 MB / 0.7355 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/1.218, allocations: 355.2 kB / 0.7359 GB, free: 11.09 MB / 0.545 GB Notification: Performance of SimCode: time 2.275e-06/1.218, allocations: 0 / 0.7359 GB, free: 11.09 MB / 0.545 GB Notification: Performance of Templates: time 0.4593/1.677, allocations: 203.3 MB / 0.9344 GB, free: 8.078 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 18.630216184072196]