Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001413/0.001413, allocations: 88.23 kB / 21.44 MB, free: 276 kB / 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.001545/0.001545, allocations: 164 kB / 24.71 MB, free: 3.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 299 MB, free: 8.676 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.711e-05, allocations: 2.281 kB / 299 MB, free: 8.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1895/0.1896, allocations: 25.98 MB / 325 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02015/0.2097, allocations: 8.349 MB / 333.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008368/0.2181, allocations: 198.7 kB / 333.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0147/0.2328, allocations: 4.853 MB / 338.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.2431, allocations: 3.069 MB / 341.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005138/0.2482, allocations: 1.601 MB / 343 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.2596, allocations: 9.08 MB / 352.1 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01364/0.2732, allocations: 9.086 MB / 361.2 MB, free: 36 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01674/0.2899, allocations: 6.355 MB / 367.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/0.3017, allocations: 4.062 MB / 371.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005204/0.3069, allocations: 1.156 MB / 372.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007567/0.3144, allocations: 1.528 MB / 374.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004693/0.3191, allocations: 2.461 MB / 376.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00964/0.3288, allocations: 3.141 MB / 379.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02647/0.3552, allocations: 15.92 MB / 395.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.3553, allocations: 7.984 kB / 395.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3553, allocations: 0 / 395.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004659/0.3557, allocations: 0 / 395.8 MB, free: 14.62 MB / 350.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.03483/0.3906, allocations: 9.755 MB / 405.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.3906, allocations: 12.02 kB / 405.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03211/0.4227, allocations: 5.322 MB / 410.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01297/0.4357, allocations: 4.668 MB / 415.6 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008053/0.4365, allocations: 0.5377 MB / 416.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003545/0.44, allocations: 0.703 MB / 416.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03423/0.4743, allocations: 11.54 MB / 428.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004113/0.4747, allocations: 23.84 kB / 428.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002535/0.4772, allocations: 296 kB / 428.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006588/0.4779, allocations: 454.9 kB / 429.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02608/0.504, allocations: 10.76 MB / 439.9 MB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.069/0.573, allocations: 32.55 MB / 472.4 MB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01544/0.5884, allocations: 7.388 MB / 479.8 MB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00559/0.594, allocations: 2.42 MB / 482.3 MB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01634/0.6103, allocations: 6.803 MB / 489.1 MB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.38e-05/0.6104, allocations: 60.56 kB / 489.1 MB, free: 1.176 MB / 430.1 MB Notification: Performance of pre-optimization done (n=217): time 4.308e-06/0.6104, allocations: 0 / 489.1 MB, free: 1.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=233): time 0.1882/0.7986, allocations: 10.25 MB / 499.4 MB, free: 132.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001865/0.8004, allocations: 1.863 MB / 0.4895 GB, free: 130.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006464/0.8069, allocations: 3.62 MB / 0.493 GB, free: 129.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005371/0.8074, allocations: 63.33 kB / 0.4931 GB, free: 129.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002487/0.8099, allocations: 3.677 MB / 0.4967 GB, free: 126.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.811, allocations: 0.8607 MB / 0.4975 GB, free: 126.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001574/0.8126, allocations: 0.9444 MB / 0.4984 GB, free: 125.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.8126, allocations: 302.4 kB / 0.4987 GB, free: 125.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002608/0.8153, allocations: 1.899 MB / 0.5006 GB, free: 124.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003444/0.8187, allocations: 4.439 MB / 0.5049 GB, free: 120.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00639/0.8251, allocations: 6.794 MB / 0.5115 GB, free: 115.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.46e-05/0.8252, allocations: 23.53 kB / 0.5116 GB, free: 115.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01176/0.8369, allocations: 6.952 MB / 0.5183 GB, free: 112.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.881e-05/0.837, allocations: 44.19 kB / 0.5184 GB, free: 112.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/0.8371, allocations: 88 kB / 0.5185 GB, free: 112 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00184/0.839, allocations: 0.7405 MB / 0.5192 GB, free: 111.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.8426, allocations: 1.123 MB / 0.5203 GB, free: 110.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006217/0.8488, allocations: 5.401 MB / 0.5256 GB, free: 105.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00442/0.8532, allocations: 310.5 kB / 0.5259 GB, free: 105.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007139/0.8539, allocations: 271.9 kB / 0.5261 GB, free: 105.1 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.004369/0.8583, allocations: 2.527 MB / 0.5286 GB, free: 102.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/0.8594, allocations: 373.5 kB / 0.5289 GB, free: 102.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006848/0.8662, allocations: 4.224 MB / 0.5331 GB, free: 98.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.8662, allocations: 24 kB / 0.5331 GB, free: 98.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/0.8662, allocations: 8.562 kB / 0.5331 GB, free: 98.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/0.8663, allocations: 15.95 kB / 0.5331 GB, free: 98.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02107/0.8873, allocations: 12.62 MB / 0.5454 GB, free: 85.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/0.8873, allocations: 17.95 kB / 0.5455 GB, free: 85.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/0.8892, allocations: 475.3 kB / 0.5459 GB, free: 85.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001893/0.8911, allocations: 0.6929 MB / 0.5466 GB, free: 84.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002535/0.8913, allocations: 75.64 kB / 0.5467 GB, free: 84.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007481/0.8988, allocations: 7.111 MB / 0.5536 GB, free: 77.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00139/0.9002, allocations: 1.807 MB / 0.5554 GB, free: 75.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/0.9104, allocations: 6.683 MB / 0.5619 GB, free: 68.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002393/0.9127, allocations: 0.7198 MB / 0.5626 GB, free: 67.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001248/0.914, allocations: 64 kB / 0.5627 GB, free: 67.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002644/0.9166, allocations: 177.9 kB / 0.5628 GB, free: 67.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005172/0.9172, allocations: 225.4 kB / 0.563 GB, free: 67.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/0.9174, allocations: 87.98 kB / 0.5631 GB, free: 67.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004096/0.9215, allocations: 2.267 MB / 0.5653 GB, free: 64.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.9215, allocations: 0 / 0.5653 GB, free: 64.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005741/0.9272, allocations: 1.285 MB / 0.5666 GB, free: 63.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.0006423/0.9279, allocations: 226.5 kB / 0.5668 GB, free: 63.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007062/0.9349, allocations: 4.82 MB / 0.5715 GB, free: 58.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.9349, allocations: 8.125 kB / 0.5715 GB, free: 58.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003282/0.9382, allocations: 2.185 MB / 0.5737 GB, free: 56.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005819/0.944, allocations: 0.8545 MB / 0.5745 GB, free: 55.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0201/0.9641, allocations: 12.48 MB / 0.5867 GB, free: 42.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003539/0.9677, allocations: 4.019 MB / 0.5906 GB, free: 38.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003213/0.9709, allocations: 1.318 MB / 0.5919 GB, free: 37.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007111/0.9716, allocations: 284.5 kB / 0.5922 GB, free: 37.14 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.9716, allocations: 0 / 0.5922 GB, free: 37.14 MB / 430.1 MB Notification: Performance of Templates: time 0.08228/1.054, allocations: 47.35 MB / 0.6384 GB, free: 5.781 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.069680571556091]