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.001835/0.001835, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 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.002309/0.002309, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 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 2.076/2.076, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001817/0.001817, allocations: 47.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3368, allocations: 53.37 MB / 432.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.04378/0.3805, allocations: 26.62 MB / 459 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02494/0.4055, allocations: 8.573 MB / 467.6 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007478/0.413, allocations: 218.9 kB / 467.8 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01649/0.4294, allocations: 4.649 MB / 472.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01517/0.4446, allocations: 3.066 MB / 475.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007581/0.4522, allocations: 1.59 MB / 477.1 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01872/0.4709, allocations: 8.875 MB / 485.9 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02387/0.4948, allocations: 9.227 MB / 495.2 MB, free: 7.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01006/0.5049, allocations: 4.359 MB / 499.5 MB, free: 3.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01256/0.5174, allocations: 4.886 MB / 0.4926 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004729/0.5221, allocations: 1.164 MB / 0.4937 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006723/0.5289, allocations: 1.539 MB / 0.4952 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005426/0.5343, allocations: 2.412 MB / 0.4976 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009768/0.5441, allocations: 3.661 MB / 0.5012 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0361/0.5802, allocations: 15.94 MB / 0.5167 GB, free: 5.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5802, allocations: 0 / 0.5167 GB, free: 5.543 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5802, allocations: 0 / 0.5167 GB, free: 5.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004868/0.5807, allocations: 4 kB / 0.5167 GB, free: 5.539 MB / 430.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.08033/0.661, allocations: 9.88 MB / 0.5264 GB, free: 11.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.661, allocations: 8.031 kB / 0.5264 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08043/0.7415, allocations: 5.235 MB / 0.5315 GB, free: 6.316 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01677/0.7582, allocations: 5.102 MB / 0.5365 GB, free: 1.125 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008352/0.7591, allocations: 0.5299 MB / 0.537 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3605/1.12, allocations: 0.702 MB / 0.5377 GB, free: 93.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04074/1.16, allocations: 11.58 MB / 0.549 GB, free: 89.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004292/1.161, allocations: 19.98 kB / 0.549 GB, free: 89.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002524/1.163, allocations: 299.2 kB / 0.5493 GB, free: 88.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005277/1.164, allocations: 446.4 kB / 0.5497 GB, free: 88.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02924/1.193, allocations: 10.81 MB / 0.5603 GB, free: 80.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08116/1.274, allocations: 32.7 MB / 0.5922 GB, free: 47.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01966/1.294, allocations: 7.426 MB / 0.5995 GB, free: 41.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006038/1.3, allocations: 2.444 MB / 0.6019 GB, free: 39.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02099/1.321, allocations: 6.892 MB / 0.6086 GB, free: 32.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/1.321, allocations: 60.5 kB / 0.6086 GB, free: 32.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 6.643e-06/1.321, allocations: 0 / 0.6086 GB, free: 32.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.03106/1.352, allocations: 10.29 MB / 0.6187 GB, free: 22.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002502/1.354, allocations: 1.867 MB / 0.6205 GB, free: 20.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008641/1.363, allocations: 3.632 MB / 0.6241 GB, free: 16.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005751/1.364, allocations: 69.7 kB / 0.6241 GB, free: 16.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002713/1.366, allocations: 3.7 MB / 0.6277 GB, free: 13.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00138/1.368, allocations: 0.8707 MB / 0.6286 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003271/1.371, allocations: 0.9613 MB / 0.6295 GB, free: 11.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.89e-05/1.371, allocations: 305.1 kB / 0.6298 GB, free: 11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004535/1.376, allocations: 1.891 MB / 0.6317 GB, free: 9.098 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006333/1.382, allocations: 4.454 MB / 0.636 GB, free: 3.398 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.015/1.397, allocations: 6.8 MB / 0.6427 GB, free: 11.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001142/1.397, allocations: 24 kB / 0.6427 GB, free: 11.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.02447/1.422, allocations: 6.966 MB / 0.6495 GB, free: 4.379 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000162/1.422, allocations: 45 kB / 0.6495 GB, free: 4.336 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002318/1.422, allocations: 84 kB / 0.6496 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003799/1.426, allocations: 0.737 MB / 0.6503 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007583/1.433, allocations: 1.119 MB / 0.6514 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/1.447, allocations: 5.42 MB / 0.6567 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007358/1.455, allocations: 311.4 kB / 0.657 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/1.456, allocations: 276 kB / 0.6573 GB, free: 12.29 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.008352/1.464, allocations: 2.529 MB / 0.6597 GB, free: 9.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001711/1.466, allocations: 373.6 kB / 0.6601 GB, free: 9.383 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01447/1.481, allocations: 4.241 MB / 0.6642 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.534e-05/1.481, allocations: 28 kB / 0.6643 GB, free: 5.086 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-05/1.481, allocations: 4 kB / 0.6643 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.852e-05/1.481, allocations: 11.95 kB / 0.6643 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04412/1.525, allocations: 12.67 MB / 0.6767 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.206e-05/1.525, allocations: 15.94 kB / 0.6767 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004005/1.529, allocations: 479.3 kB / 0.6771 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004098/1.533, allocations: 0.6933 MB / 0.6778 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005883/1.534, allocations: 79.92 kB / 0.6779 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/1.55, allocations: 7.121 MB / 0.6848 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00306/1.553, allocations: 1.804 MB / 0.6866 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0195/1.573, allocations: 6.738 MB / 0.6932 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004049/1.577, allocations: 0.7238 MB / 0.6939 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001481/1.578, allocations: 59.98 kB / 0.6939 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004076/1.582, allocations: 163.8 kB / 0.6941 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009932/1.583, allocations: 233.3 kB / 0.6943 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005385/1.584, allocations: 91.98 kB / 0.6944 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008016/1.592, allocations: 2.272 MB / 0.6966 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.71e-07/1.592, allocations: 4 kB / 0.6966 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01022/1.602, allocations: 1.289 MB / 0.6979 GB, free: 1.883 MB / 0.4981 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.001144/1.603, allocations: 225.7 kB / 0.6981 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01589/1.619, allocations: 4.831 MB / 0.7028 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.427e-05/1.619, allocations: 0 / 0.7028 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00762/1.627, allocations: 2.175 MB / 0.7049 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00875/1.635, allocations: 0.876 MB / 0.7058 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07045/1.706, allocations: 12.53 MB / 0.718 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01861/1.725, allocations: 4.02 MB / 0.722 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01785/1.742, allocations: 1.33 MB / 0.7233 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/1.744, allocations: 295.4 kB / 0.7235 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of SimCode: time 1.593e-06/1.744, allocations: 0 / 0.7235 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of Templates: time 0.5564/2.3, allocations: 58.5 MB / 0.7807 GB, free: 167.9 MB / 0.545 GB " [Timeout remaining time 658] 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 11.246633030008525]