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.001847/0.001847, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.002233/0.002233, allocations: 198.7 kB / 25.23 MB, free: 3.539 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.59/1.59, allocations: 207.6 MB / 236 MB, free: 9.969 MB / 190.1 MB " [Timeout remaining time 178] 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.002251/0.002251, allocations: 55.92 kB / 348.5 MB, free: 9.492 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3677, allocations: 49.15 MB / 397.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03755/0.4053, allocations: 30.44 MB / 428.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02881/0.4341, allocations: 8.681 MB / 436.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009294/0.4434, allocations: 199.8 kB / 436.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01501/0.4584, allocations: 5.007 MB / 442 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01267/0.4711, allocations: 3.07 MB / 445 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006463/0.4775, allocations: 1.661 MB / 446.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01842/0.496, allocations: 8.769 MB / 455.5 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02179/0.5177, allocations: 9.202 MB / 464.7 MB, free: 56 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009311/0.5271, allocations: 4.34 MB / 469 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01038/0.5374, allocations: 4.804 MB / 473.8 MB, free: 6.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004259/0.5417, allocations: 1.16 MB / 475 MB, free: 5.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006695/0.5484, allocations: 1.527 MB / 476.5 MB, free: 4.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004884/0.5533, allocations: 2.431 MB / 478.9 MB, free: 1.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01184/0.5651, allocations: 4.665 MB / 483.6 MB, free: 13.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02912/0.5942, allocations: 15.78 MB / 499.4 MB, free: 13.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.5942, allocations: 3.938 kB / 499.4 MB, free: 13.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5942, allocations: 0 / 499.4 MB, free: 13.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005843/0.5948, allocations: 0 / 499.4 MB, free: 13.25 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.03644/0.6313, allocations: 9.857 MB / 0.4973 GB, free: 3.301 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.6313, allocations: 8.031 kB / 0.4973 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02986/0.6612, allocations: 5.313 MB / 0.5025 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/0.675, allocations: 4.711 MB / 0.5071 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007511/0.6757, allocations: 0.5338 MB / 0.5076 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003585/0.6793, allocations: 0.7108 MB / 0.5083 GB, free: 7.922 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03317/0.7125, allocations: 11.32 MB / 0.5194 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002949/0.7128, allocations: 7.953 kB / 0.5194 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002187/0.715, allocations: 304 kB / 0.5196 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006379/0.7156, allocations: 446.9 kB / 0.5201 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0267/0.7423, allocations: 10.81 MB / 0.5306 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3273/1.07, allocations: 36.53 MB / 0.5663 GB, free: 126.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01421/1.084, allocations: 7.429 MB / 0.5736 GB, free: 126.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004215/1.088, allocations: 2.419 MB / 0.5759 GB, free: 126.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01663/1.105, allocations: 7.482 MB / 0.5832 GB, free: 125.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/1.105, allocations: 70.78 kB / 0.5833 GB, free: 125.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=217): time 4.628e-06/1.105, allocations: 0 / 0.5833 GB, free: 125.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=233): time 0.01839/1.123, allocations: 10.29 MB / 0.5933 GB, free: 121.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001622/1.125, allocations: 1.909 MB / 0.5952 GB, free: 119.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005392/1.13, allocations: 3.826 MB / 0.5989 GB, free: 118 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004255/1.131, allocations: 65.05 kB / 0.599 GB, free: 118 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001793/1.132, allocations: 3.674 MB / 0.6026 GB, free: 115.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000751/1.133, allocations: 0.8731 MB / 0.6034 GB, free: 114.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/1.134, allocations: 0.9615 MB / 0.6044 GB, free: 114.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/1.134, allocations: 309 kB / 0.6047 GB, free: 114 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/1.137, allocations: 1.89 MB / 0.6065 GB, free: 113 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003287/1.14, allocations: 4.392 MB / 0.6108 GB, free: 108.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00582/1.146, allocations: 6.786 MB / 0.6174 GB, free: 101.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.722e-05/1.146, allocations: 24 kB / 0.6175 GB, free: 101.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01002/1.156, allocations: 6.978 MB / 0.6243 GB, free: 94.64 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/1.156, allocations: 44.06 kB / 0.6243 GB, free: 94.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/1.156, allocations: 91.94 kB / 0.6244 GB, free: 94.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/1.158, allocations: 0.7359 MB / 0.6251 GB, free: 93.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/1.161, allocations: 1.127 MB / 0.6262 GB, free: 92.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005772/1.167, allocations: 5.538 MB / 0.6316 GB, free: 86.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004151/1.171, allocations: 315.5 kB / 0.6319 GB, free: 86.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006608/1.172, allocations: 272 kB / 0.6322 GB, free: 86.39 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.004166/1.176, allocations: 2.537 MB / 0.6347 GB, free: 83.84 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000934/1.177, allocations: 401.5 kB / 0.6351 GB, free: 83.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006113/1.183, allocations: 4.239 MB / 0.6392 GB, free: 79.19 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/1.183, allocations: 28 kB / 0.6392 GB, free: 79.16 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/1.183, allocations: 8 kB / 0.6392 GB, free: 79.15 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.116e-05/1.183, allocations: 15.89 kB / 0.6392 GB, free: 79.14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/1.204, allocations: 13.96 MB / 0.6529 GB, free: 64.99 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/1.204, allocations: 8 kB / 0.6529 GB, free: 64.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.205, allocations: 480.4 kB / 0.6533 GB, free: 64.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/1.207, allocations: 0.6931 MB / 0.654 GB, free: 63.81 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/1.207, allocations: 67.98 kB / 0.6541 GB, free: 63.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007151/1.215, allocations: 7.28 MB / 0.6612 GB, free: 56.23 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001275/1.216, allocations: 1.861 MB / 0.663 GB, free: 54.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008404/1.224, allocations: 6.727 MB / 0.6696 GB, free: 47.24 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002451/1.227, allocations: 0.751 MB / 0.6703 GB, free: 46.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000691/1.227, allocations: 67.92 kB / 0.6704 GB, free: 46.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/1.229, allocations: 163.9 kB / 0.6705 GB, free: 46.26 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003818/1.23, allocations: 229.4 kB / 0.6708 GB, free: 46.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.23, allocations: 87.98 kB / 0.6708 GB, free: 45.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003388/1.233, allocations: 2.509 MB / 0.6733 GB, free: 43.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/1.233, allocations: 3.656 kB / 0.6733 GB, free: 43.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00504/1.238, allocations: 1.293 MB / 0.6746 GB, free: 42.17 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.0004982/1.239, allocations: 230.3 kB / 0.6748 GB, free: 41.93 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006818/1.245, allocations: 4.827 MB / 0.6795 GB, free: 37.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/1.245, allocations: 8.125 kB / 0.6795 GB, free: 37.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003036/1.248, allocations: 2.185 MB / 0.6816 GB, free: 34.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004531/1.253, allocations: 0.9956 MB / 0.6826 GB, free: 33.88 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02156/1.275, allocations: 12.5 MB / 0.6948 GB, free: 21.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003909/1.278, allocations: 4.378 MB / 0.6991 GB, free: 16.76 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/1.28, allocations: 335.4 kB / 0.6994 GB, free: 16.43 MB / 478.1 MB Notification: Performance of SimCode: time 1.573e-06/1.28, allocations: 0 / 0.6994 GB, free: 16.43 MB / 478.1 MB Notification: Performance of Templates: time 0.4561/1.736, allocations: 201.8 MB / 0.8965 GB, free: 57.5 MB / 0.5137 GB " [Timeout remaining time 658] 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 -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: 18.026222798973322]