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.002599/0.002599, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002889/0.002889, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 18.57 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.558/1.558, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 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 1.553e-06/1.553e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.414e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1441/0.1441, allocations: 30.36 MB / 302.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01548/0.1596, allocations: 8.796 MB / 311.4 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005287/0.1649, allocations: 227.9 kB / 311.6 MB, free: 7.848 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01094/0.1759, allocations: 5.193 MB / 316.8 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00986/0.1857, allocations: 3.141 MB / 319.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00413/0.1898, allocations: 1.624 MB / 321.6 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01351/0.2033, allocations: 9.18 MB / 330.8 MB, free: 8.566 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01777/0.2211, allocations: 9.131 MB / 339.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01284/0.234, allocations: 6.419 MB / 346.3 MB, free: 8.906 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008739/0.2427, allocations: 4.453 MB / 350.8 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002756/0.2455, allocations: 1.16 MB / 351.9 MB, free: 3.285 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004827/0.2503, allocations: 1.534 MB / 353.4 MB, free: 1.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003242/0.2535, allocations: 2.505 MB / 356 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007747/0.2613, allocations: 3.181 MB / 359.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02262/0.2839, allocations: 16.13 MB / 375.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2839, allocations: 0 / 375.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2839, allocations: 0 / 375.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000338/0.2842, allocations: 3.938 kB / 375.3 MB, free: 11.86 MB / 330.7 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.03072/0.315, allocations: 11.24 MB / 386.5 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.315, allocations: 12.03 kB / 386.5 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03155/0.3465, allocations: 6.5 MB / 393 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/0.3597, allocations: 4.944 MB / 398 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000619/0.3603, allocations: 0.5299 MB / 398.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002451/0.3628, allocations: 0.7108 MB / 399.2 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.029/0.3918, allocations: 11.68 MB / 410.9 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000319/0.3921, allocations: 15.89 kB / 410.9 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002109/0.3942, allocations: 296 kB / 411.2 MB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006121/0.3948, allocations: 450.9 kB / 411.6 MB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0244/0.4192, allocations: 9.619 MB / 421.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2016/0.6208, allocations: 61.14 MB / 482.4 MB, free: 77.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/0.6319, allocations: 7.073 MB / 489.5 MB, free: 72.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/0.635, allocations: 2.142 MB / 491.6 MB, free: 70.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01242/0.6474, allocations: 7.141 MB / 498.8 MB, free: 63.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.6475, allocations: 67.33 kB / 498.8 MB, free: 63.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 4.388e-06/0.6475, allocations: 0 / 498.8 MB, free: 63.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.01649/0.664, allocations: 9.138 MB / 0.4961 GB, free: 54.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001555/0.6655, allocations: 2.445 MB / 0.4984 GB, free: 51.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005517/0.671, allocations: 5.049 MB / 0.5034 GB, free: 46.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000369/0.6714, allocations: 61.7 kB / 0.5034 GB, free: 46.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001875/0.6733, allocations: 4.144 MB / 0.5075 GB, free: 42.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007576/0.674, allocations: 0.9491 MB / 0.5084 GB, free: 41.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/0.6754, allocations: 1.256 MB / 0.5096 GB, free: 40.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.6755, allocations: 476.8 kB / 0.5101 GB, free: 40.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.6774, allocations: 1.552 MB / 0.5116 GB, free: 38.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003103/0.6805, allocations: 5.486 MB / 0.517 GB, free: 31.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005811/0.6863, allocations: 7.577 MB / 0.5244 GB, free: 22.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-05/0.6864, allocations: 35.94 kB / 0.5244 GB, free: 22.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.009274/0.6957, allocations: 6.567 MB / 0.5308 GB, free: 15.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.6957, allocations: 43.94 kB / 0.5308 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.754e-05/0.6958, allocations: 93.3 kB / 0.5309 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/0.6983, allocations: 0.8979 MB / 0.5318 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/0.7016, allocations: 1.119 MB / 0.5329 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005964/0.7076, allocations: 5.936 MB / 0.5387 GB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/0.7113, allocations: 315.4 kB / 0.539 GB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004752/0.7118, allocations: 276 kB / 0.5393 GB, free: 6.703 MB / 378.7 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.003026/0.7148, allocations: 2.314 MB / 0.5415 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008676/0.7157, allocations: 449.6 kB / 0.542 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005697/0.7214, allocations: 3.671 MB / 0.5455 GB, free: 236 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.7214, allocations: 24 kB / 0.5456 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.7214, allocations: 12 kB / 0.5456 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/0.7215, allocations: 11.95 kB / 0.5456 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02892/0.7504, allocations: 15.23 MB / 0.5605 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.7504, allocations: 12.03 kB / 0.5605 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002065/0.7525, allocations: 483.2 kB / 0.5609 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003057/0.7555, allocations: 0.8612 MB / 0.5618 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/0.7557, allocations: 75.97 kB / 0.5618 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/0.7674, allocations: 8.112 MB / 0.5698 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002614/0.77, allocations: 2.41 MB / 0.5721 GB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1426/0.9126, allocations: 6.004 MB / 0.578 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/0.9149, allocations: 0.6703 MB / 0.5786 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006328/0.9156, allocations: 64.14 kB / 0.5787 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/0.9174, allocations: 163.9 kB / 0.5789 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005215/0.9179, allocations: 238 kB / 0.5791 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/0.9181, allocations: 93.84 kB / 0.5792 GB, free: 121.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003896/0.922, allocations: 2.557 MB / 0.5817 GB, free: 121 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.922, allocations: 3.5 kB / 0.5817 GB, free: 121 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004927/0.9269, allocations: 1.288 MB / 0.5829 GB, free: 121 MB / 410.7 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.0005307/0.9275, allocations: 236.4 kB / 0.5832 GB, free: 120.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007392/0.9349, allocations: 4.816 MB / 0.5879 GB, free: 120.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/0.9349, allocations: 6.141 kB / 0.5879 GB, free: 120.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0031/0.938, allocations: 2.271 MB / 0.5901 GB, free: 119.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004124/0.9421, allocations: 0.8891 MB / 0.591 GB, free: 119.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.9581, allocations: 12.03 MB / 0.6027 GB, free: 115.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003129/0.9612, allocations: 3.725 MB / 0.6063 GB, free: 114.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003072/0.9643, allocations: 1.147 MB / 0.6075 GB, free: 114.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006873/0.965, allocations: 294.8 kB / 0.6077 GB, free: 114.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/0.965, allocations: 3.969 kB / 0.6077 GB, free: 114.4 MB / 410.7 MB Notification: Performance of Templates: time 0.07716/1.042, allocations: 48.18 MB / 0.6548 GB, free: 70.71 MB / 410.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_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: 7.130529293091968]