Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001085/0.001085, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001716/0.002802, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001095/0.001095, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001454/0.002549, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8843/0.8843, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0805/0.9648, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151e-05/1.319e-05, allocations: 9.766 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02223/0.02224, allocations: 29.54 MB / 274.3 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1208/0.1431, allocations: 9.241 MB / 283.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00478/0.1479, allocations: 222.2 kB / 283.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007372/0.1552, allocations: 5.2 MB / 288.9 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006443/0.1617, allocations: 3.113 MB / 292 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.1642, allocations: 1.621 MB / 293.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008127/0.1723, allocations: 9.255 MB / 302.9 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008977/0.1813, allocations: 9.056 MB / 312 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007385/0.1886, allocations: 6.814 MB / 318.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00424/0.1929, allocations: 4.596 MB / 323.4 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.194, allocations: 1.16 MB / 324.5 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.1961, allocations: 1.552 MB / 326.1 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.1972, allocations: 1.986 MB / 328.1 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002597/0.1998, allocations: 2.66 MB / 330.7 MB, free: 1.461 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006202/0.206, allocations: 7.332 MB / 338.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.206, allocations: 0 / 338.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2061, allocations: 0 / 338.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.169e-05/0.2061, allocations: 11.94 kB / 338.1 MB, free: 10.38 MB / 314.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.01203/0.2182, allocations: 10.99 MB / 349.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.2182, allocations: 11.98 kB / 349.1 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/0.2321, allocations: 5.196 MB / 354.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004473/0.2366, allocations: 2.787 MB / 357.1 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.2369, allocations: 0.534 MB / 357.6 MB, free: 7.391 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007605/0.2376, allocations: 0.7111 MB / 358.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009599/0.2472, allocations: 5.974 MB / 364.3 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001607/0.2474, allocations: 13.44 kB / 364.3 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007056/0.2481, allocations: 299.2 kB / 364.6 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004378/0.2485, allocations: 430.9 kB / 365 MB, free: 204 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005232/0.2538, allocations: 3.017 MB / 368 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02357/0.2773, allocations: 23.39 MB / 391.4 MB, free: 5.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004802/0.2821, allocations: 4.363 MB / 395.8 MB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.2834, allocations: 0.9487 MB / 396.7 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005306/0.2887, allocations: 3.779 MB / 400.5 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.2887, allocations: 52.56 kB / 400.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 3.347e-06/0.2887, allocations: 4 kB / 400.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.009597/0.2983, allocations: 5.67 MB / 406.2 MB, free: 7.402 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009231/0.2992, allocations: 1.616 MB / 407.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.3011, allocations: 2.62 MB / 410.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.3012, allocations: 69.64 kB / 410.5 MB, free: 3.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.3027, allocations: 3.332 MB / 413.9 MB, free: 212 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004236/0.3032, allocations: 0.8641 MB / 414.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007892/0.304, allocations: 0.9102 MB / 415.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.589e-05/0.304, allocations: 304.9 kB / 415.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.305, allocations: 0.6762 MB / 416.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/0.3072, allocations: 3.133 MB / 419.7 MB, free: 9.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003293/0.3105, allocations: 4.37 MB / 424.1 MB, free: 3.477 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.694e-05/0.3105, allocations: 24 kB / 424.1 MB, free: 3.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.1217/0.4322, allocations: 3.465 MB / 427.6 MB, free: 96.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/0.4323, allocations: 46.5 kB / 427.6 MB, free: 96.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.509e-05/0.4324, allocations: 84.5 kB / 427.7 MB, free: 96.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.4338, allocations: 0.6528 MB / 428.4 MB, free: 96.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/0.4365, allocations: 1.175 MB / 429.6 MB, free: 96.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/0.4393, allocations: 2.885 MB / 432.4 MB, free: 95.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/0.4413, allocations: 237.7 kB / 432.7 MB, free: 95.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/0.4416, allocations: 230.9 kB / 432.9 MB, free: 95.35 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * 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.00124/0.4428, allocations: 480 kB / 433.4 MB, free: 95.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004372/0.4432, allocations: 289.5 kB / 433.7 MB, free: 95.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.4458, allocations: 1.873 MB / 435.5 MB, free: 95.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.4458, allocations: 29.14 kB / 435.6 MB, free: 95.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4458, allocations: 6.406 kB / 435.6 MB, free: 95.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.4458, allocations: 11.16 kB / 435.6 MB, free: 95.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008611/0.4544, allocations: 7.841 MB / 443.4 MB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.4544, allocations: 9.875 kB / 443.4 MB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009462/0.4554, allocations: 477.4 kB / 443.9 MB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006963/0.456, allocations: 431 kB / 444.3 MB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/0.4574, allocations: 0.7684 MB / 445.1 MB, free: 93.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.671e-05/0.4575, allocations: 66.95 kB / 445.1 MB, free: 93.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00288/0.4603, allocations: 4.202 MB / 449.3 MB, free: 91.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005861/0.4609, allocations: 1.564 MB / 450.9 MB, free: 90.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.4635, allocations: 2.698 MB / 453.6 MB, free: 89.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/0.4638, allocations: 61.84 kB / 453.7 MB, free: 89.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007012/0.4645, allocations: 90.16 kB / 453.8 MB, free: 89.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.4647, allocations: 229.4 kB / 454 MB, free: 89.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.209e-05/0.4648, allocations: 72.64 kB / 454.1 MB, free: 89.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001006/0.4658, allocations: 1.231 MB / 455.3 MB, free: 89.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4658, allocations: 1.094 kB / 455.3 MB, free: 89.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002624/0.4685, allocations: 1.287 MB / 456.6 MB, free: 89.2 MB / 394.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.0003069/0.4688, allocations: 225.5 kB / 456.8 MB, free: 89.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.4713, allocations: 2.631 MB / 459.4 MB, free: 88.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001152/0.4715, allocations: 89.44 kB / 459.5 MB, free: 88.81 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.4726, allocations: 1.446 MB / 461 MB, free: 88.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/0.4755, allocations: 8.043 MB / 469 MB, free: 80.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04301/0.5185, allocations: 10.83 MB / 479.8 MB, free: 74.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.5196, allocations: 1.341 MB / 481.2 MB, free: 73.13 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001544/0.5212, allocations: 0.6095 MB / 481.8 MB, free: 72.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/0.5224, allocations: 0.8434 MB / 482.6 MB, free: 71.92 MB / 394.7 MB Notification: Performance of SimCode: time 1.813e-06/0.5224, allocations: 0 / 482.6 MB, free: 71.92 MB / 394.7 MB Notification: Performance of Templates: time 0.05809/0.5805, allocations: 56.68 MB / 0.5267 GB, free: 16.51 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7776016471907496]