Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001381/0.001381, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001529/0.001529, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.62/1.62, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 71.88 kB / 378.8 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3487, allocations: 53.3 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03722/0.3859, allocations: 31.18 MB / 463.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0253/0.4112, allocations: 8.923 MB / 472.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008262/0.4195, allocations: 191.4 kB / 472.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01355/0.433, allocations: 4.999 MB / 477.4 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.4443, allocations: 3.071 MB / 480.4 MB, free: 6.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007491/0.4518, allocations: 1.648 MB / 482.1 MB, free: 5.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01643/0.4682, allocations: 8.82 MB / 490.9 MB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01909/0.4873, allocations: 8.39 MB / 499.3 MB, free: 3.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009394/0.4967, allocations: 4.258 MB / 0.4917 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01031/0.507, allocations: 4.893 MB / 0.4965 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004619/0.5116, allocations: 1.164 MB / 0.4977 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006566/0.5182, allocations: 1.554 MB / 0.4992 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004747/0.5229, allocations: 2.419 MB / 0.5015 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01075/0.5337, allocations: 4.673 MB / 0.5061 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03022/0.5639, allocations: 15.89 MB / 0.5216 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.5639, allocations: 0 / 0.5216 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5639, allocations: 4 kB / 0.5216 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005745/0.5645, allocations: 0 / 0.5216 GB, free: 0.8828 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.05496/0.6194, allocations: 9.971 MB / 0.5314 GB, free: 6.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.6195, allocations: 8.031 kB / 0.5314 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06122/0.6807, allocations: 5.228 MB / 0.5365 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.329/1.01, allocations: 5.131 MB / 0.5415 GB, free: 89.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005239/1.01, allocations: 0.5338 MB / 0.542 GB, free: 89.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002698/1.013, allocations: 0.7051 MB / 0.5427 GB, free: 89.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02114/1.034, allocations: 11.36 MB / 0.5538 GB, free: 84.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001823/1.034, allocations: 17.81 kB / 0.5538 GB, free: 84.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007349/1.035, allocations: 295.5 kB / 0.5541 GB, free: 84.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000353/1.035, allocations: 448.1 kB / 0.5545 GB, free: 84.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01783/1.053, allocations: 10.87 MB / 0.5651 GB, free: 76.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05794/1.111, allocations: 38.58 MB / 0.6028 GB, free: 37.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0159/1.127, allocations: 28 MB / 0.6301 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004283/1.131, allocations: 2.452 MB / 0.6325 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01713/1.148, allocations: 8.464 MB / 0.6408 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.113e-05/1.148, allocations: 60.5 kB / 0.6409 GB, free: 10.99 MB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 3.868e-06/1.148, allocations: 0 / 0.6409 GB, free: 10.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=233): time 0.02532/1.174, allocations: 10.47 MB / 0.6511 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002644/1.176, allocations: 2.007 MB / 0.653 GB, free: 14.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008852/1.185, allocations: 3.839 MB / 0.6568 GB, free: 10.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005086/1.186, allocations: 69.7 kB / 0.6569 GB, free: 10.45 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00351/1.189, allocations: 3.683 MB / 0.6605 GB, free: 6.758 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001423/1.191, allocations: 0.8643 MB / 0.6613 GB, free: 5.902 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002679/1.193, allocations: 0.9653 MB / 0.6622 GB, free: 4.926 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/1.194, allocations: 305.1 kB / 0.6625 GB, free: 4.625 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003653/1.197, allocations: 1.899 MB / 0.6644 GB, free: 2.719 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0063/1.203, allocations: 4.395 MB / 0.6687 GB, free: 13.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/1.214, allocations: 6.796 MB / 0.6753 GB, free: 5.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000122/1.214, allocations: 28 kB / 0.6753 GB, free: 5.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01555/1.23, allocations: 7.001 MB / 0.6822 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/1.23, allocations: 43.98 kB / 0.6822 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001779/1.23, allocations: 91.94 kB / 0.6823 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/1.232, allocations: 0.7385 MB / 0.683 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004328/1.237, allocations: 1.127 MB / 0.6841 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00908/1.246, allocations: 5.634 MB / 0.6896 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004694/1.25, allocations: 319.4 kB / 0.6899 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009846/1.251, allocations: 276 kB / 0.6902 GB, free: 5.676 MB / 0.4981 GB 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.005711/1.257, allocations: 2.522 MB / 0.6927 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/1.258, allocations: 413.4 kB / 0.6931 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009074/1.267, allocations: 4.254 MB / 0.6972 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/1.268, allocations: 24 kB / 0.6972 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/1.268, allocations: 8 kB / 0.6972 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.144e-05/1.268, allocations: 19.89 kB / 0.6973 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02885/1.296, allocations: 14.3 MB / 0.7112 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/1.296, allocations: 12 kB / 0.7112 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/1.298, allocations: 475.3 kB / 0.7117 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002173/1.301, allocations: 0.702 MB / 0.7124 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002103/1.301, allocations: 67.97 kB / 0.7124 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01088/1.312, allocations: 7.503 MB / 0.7198 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002154/1.314, allocations: 1.957 MB / 0.7217 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/1.326, allocations: 6.758 MB / 0.7283 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002816/1.329, allocations: 0.8223 MB / 0.7291 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/1.33, allocations: 63.94 kB / 0.7291 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/1.333, allocations: 159.9 kB / 0.7293 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006416/1.334, allocations: 221.5 kB / 0.7295 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002511/1.334, allocations: 91.97 kB / 0.7296 GB, free: 12.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005607/1.34, allocations: 2.522 MB / 0.7321 GB, free: 9.812 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.34, allocations: 0 / 0.7321 GB, free: 9.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006163/1.346, allocations: 1.301 MB / 0.7333 GB, free: 8.512 MB / 0.545 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.0007822/1.347, allocations: 241.1 kB / 0.7336 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009168/1.356, allocations: 4.974 MB / 0.7384 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.356, allocations: 0 / 0.7384 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004339/1.36, allocations: 2.256 MB / 0.7406 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2464/1.607, allocations: 1.008 MB / 0.7416 GB, free: 187.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02269/1.629, allocations: 12.57 MB / 0.7539 GB, free: 183.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004185/1.634, allocations: 4.505 MB / 0.7583 GB, free: 181.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003613/1.637, allocations: 1.362 MB / 0.7596 GB, free: 181.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008081/1.638, allocations: 308.2 kB / 0.7599 GB, free: 181.7 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/1.638, allocations: 0 / 0.7599 GB, free: 181.7 MB / 0.545 GB Notification: Performance of Templates: time 0.08766/1.726, allocations: 56.05 MB / 0.8146 GB, free: 134.9 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.822308166883886]