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.001884/0.001884, allocations: 83.94 kB / 22 MB, free: 5.18 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.002159/0.002159, allocations: 161.8 kB / 25.25 MB, free: 3.027 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.29/1.29, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 55.92 kB / 299.4 MB, free: 6.953 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1977, allocations: 49.15 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03167/0.2293, allocations: 25.96 MB / 374.5 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01646/0.2458, allocations: 8.355 MB / 382.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003153/0.2489, allocations: 199 kB / 383.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01147/0.2604, allocations: 4.829 MB / 387.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007828/0.2682, allocations: 3.004 MB / 390.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.272, allocations: 1.586 MB / 392.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01103/0.283, allocations: 8.773 MB / 401.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01353/0.2966, allocations: 9.056 MB / 410.3 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006043/0.3026, allocations: 4.347 MB / 414.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007073/0.3097, allocations: 4.522 MB / 419.2 MB, free: 8.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001779/0.3115, allocations: 1.16 MB / 420.3 MB, free: 7.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/0.3144, allocations: 1.499 MB / 421.8 MB, free: 5.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002264/0.3166, allocations: 2.412 MB / 424.2 MB, free: 3.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004524/0.3212, allocations: 3.654 MB / 427.9 MB, free: 15.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01695/0.3381, allocations: 15.82 MB / 443.7 MB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3381, allocations: 3.938 kB / 443.7 MB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3381, allocations: 4 kB / 443.7 MB, free: 15.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002307/0.3384, allocations: 0 / 443.7 MB, free: 15.95 MB / 414.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.02501/0.3634, allocations: 9.849 MB / 453.6 MB, free: 6.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3634, allocations: 8.031 kB / 453.6 MB, free: 6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0301/0.3935, allocations: 5.317 MB / 458.9 MB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009808/0.4033, allocations: 4.668 MB / 463.6 MB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005347/0.4038, allocations: 0.5299 MB / 464.1 MB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001387/0.4052, allocations: 0.7108 MB / 464.8 MB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1903/0.5956, allocations: 11.54 MB / 476.4 MB, free: 97.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002305/0.5958, allocations: 18.33 kB / 476.4 MB, free: 97.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007978/0.5966, allocations: 296.2 kB / 476.7 MB, free: 97.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005566/0.5972, allocations: 446.8 kB / 477.1 MB, free: 97.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.6129, allocations: 10.77 MB / 487.9 MB, free: 94.06 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03864/0.6516, allocations: 32.55 MB / 0.5082 GB, free: 65.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.662, allocations: 7.383 MB / 0.5154 GB, free: 59.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002829/0.6648, allocations: 2.416 MB / 0.5178 GB, free: 57.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009779/0.6746, allocations: 6.812 MB / 0.5244 GB, free: 50.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.6746, allocations: 59.94 kB / 0.5245 GB, free: 50.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=217): time 4.408e-06/0.6746, allocations: 0 / 0.5245 GB, free: 50.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=233): time 0.01599/0.6906, allocations: 10.26 MB / 0.5345 GB, free: 40.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001402/0.692, allocations: 1.869 MB / 0.5363 GB, free: 38.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003637/0.6956, allocations: 3.619 MB / 0.5399 GB, free: 34.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.6958, allocations: 65.7 kB / 0.5399 GB, free: 34.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.697, allocations: 3.696 MB / 0.5435 GB, free: 31.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000417/0.6974, allocations: 0.8726 MB / 0.5444 GB, free: 30.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/0.6985, allocations: 0.9575 MB / 0.5453 GB, free: 29.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 2.653e-05/0.6985, allocations: 305.1 kB / 0.5456 GB, free: 28.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/0.7006, allocations: 1.891 MB / 0.5475 GB, free: 27.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002949/0.7036, allocations: 4.442 MB / 0.5518 GB, free: 21.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00553/0.7091, allocations: 6.787 MB / 0.5584 GB, free: 13.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-05/0.7092, allocations: 24 kB / 0.5585 GB, free: 13.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.009216/0.7184, allocations: 6.954 MB / 0.5653 GB, free: 6.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.706e-05/0.7184, allocations: 40 kB / 0.5653 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/0.7186, allocations: 91.98 kB / 0.5654 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001764/0.7203, allocations: 0.7404 MB / 0.5661 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003262/0.7236, allocations: 1.111 MB / 0.5672 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006276/0.7299, allocations: 5.418 MB / 0.5725 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/0.7332, allocations: 319.4 kB / 0.5728 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004126/0.7337, allocations: 272 kB / 0.573 GB, free: 14.32 MB / 446.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.003863/0.7375, allocations: 2.522 MB / 0.5755 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006556/0.7382, allocations: 377.6 kB / 0.5759 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007715/0.7459, allocations: 4.225 MB / 0.58 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/0.7459, allocations: 27.94 kB / 0.58 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.7459, allocations: 7.75 kB / 0.58 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/0.7459, allocations: 11.95 kB / 0.58 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02136/0.7673, allocations: 12.62 MB / 0.5924 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/0.7673, allocations: 12 kB / 0.5924 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/0.7693, allocations: 479.2 kB / 0.5928 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002056/0.7713, allocations: 0.6896 MB / 0.5935 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/0.7715, allocations: 71.97 kB / 0.5936 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/0.7816, allocations: 7.111 MB / 0.6005 GB, free: 1.754 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002064/0.7837, allocations: 1.812 MB / 0.6023 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/0.7951, allocations: 6.71 MB / 0.6088 GB, free: 8.836 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/0.7971, allocations: 0.7121 MB / 0.6095 GB, free: 8.121 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003938/0.7975, allocations: 59.98 kB / 0.6096 GB, free: 8.062 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.7993, allocations: 171.9 kB / 0.6098 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004425/0.7997, allocations: 233.2 kB / 0.61 GB, free: 7.664 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/0.7999, allocations: 87.98 kB / 0.6101 GB, free: 7.578 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003425/0.8033, allocations: 2.267 MB / 0.6123 GB, free: 5.324 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.8033, allocations: 0 / 0.6123 GB, free: 5.324 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004294/0.8076, allocations: 1.285 MB / 0.6135 GB, free: 4.039 MB / 478.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.0004164/0.808, allocations: 230.7 kB / 0.6138 GB, free: 3.812 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007834/0.8159, allocations: 4.818 MB / 0.6185 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.8159, allocations: 4 kB / 0.6185 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003747/0.8196, allocations: 2.19 MB / 0.6206 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00355/0.8232, allocations: 0.8629 MB / 0.6214 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/0.8421, allocations: 12.54 MB / 0.6337 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004661/0.8468, allocations: 4.011 MB / 0.6376 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003465/0.8503, allocations: 1.326 MB / 0.6389 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000744/0.851, allocations: 280.5 kB / 0.6392 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.851, allocations: 0 / 0.6392 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of Templates: time 0.2464/1.097, allocations: 47.72 MB / 0.6858 GB, free: 170.6 MB / 0.5137 GB " [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 -s ida -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/jenkins1/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/jenkins1/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: 6.7049980299780145]