Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 74.44 kB / 20.49 MB, free: 1.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002198/0.002198, allocations: 149 kB / 23.73 MB, free: 4.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 173.4 MB / 200.3 MB, free: 12.92 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 47.08 kB / 318.7 MB, free: 3.625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.09163, allocations: 52.17 MB / 370.9 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03246/0.1241, allocations: 26.07 MB / 396.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01829/0.1424, allocations: 8.335 MB / 405.3 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005343/0.1477, allocations: 218.9 kB / 405.5 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01325/0.161, allocations: 4.833 MB / 410.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009423/0.1704, allocations: 3.053 MB / 413.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004726/0.1751, allocations: 1.573 MB / 414.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01242/0.1875, allocations: 8.754 MB / 423.7 MB, free: 2.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01648/0.204, allocations: 9.08 MB / 432.8 MB, free: 9.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0118/0.2158, allocations: 6.56 MB / 439.3 MB, free: 2.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008205/0.224, allocations: 4.522 MB / 443.9 MB, free: 14.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00352/0.2275, allocations: 1.16 MB / 445 MB, free: 13.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005069/0.2326, allocations: 1.5 MB / 446.5 MB, free: 11.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003827/0.2364, allocations: 2.419 MB / 448.9 MB, free: 9.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007741/0.2442, allocations: 3.65 MB / 452.6 MB, free: 5.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02285/0.267, allocations: 15.9 MB / 468.5 MB, free: 5.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.267, allocations: 0 / 468.5 MB, free: 5.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.267, allocations: 0 / 468.5 MB, free: 5.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006497/0.2677, allocations: 0 / 468.5 MB, free: 5.57 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.214/0.4817, allocations: 9.843 MB / 478.3 MB, free: 83.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4817, allocations: 10.05 kB / 478.3 MB, free: 83.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02876/0.5105, allocations: 5.317 MB / 483.7 MB, free: 83.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/0.5207, allocations: 5.087 MB / 488.7 MB, free: 79.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004012/0.5211, allocations: 0.5305 MB / 489.3 MB, free: 79.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002128/0.5232, allocations: 0.711 MB / 490 MB, free: 79.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01989/0.5431, allocations: 11.55 MB / 0.4898 GB, free: 68.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002479/0.5433, allocations: 11.89 kB / 0.4898 GB, free: 68.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00124/0.5446, allocations: 307.2 kB / 0.4901 GB, free: 67.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003216/0.5449, allocations: 446.9 kB / 0.4905 GB, free: 67.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/0.5619, allocations: 10.78 MB / 0.501 GB, free: 56.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04531/0.6073, allocations: 32.55 MB / 0.5328 GB, free: 23.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.6182, allocations: 7.393 MB / 0.54 GB, free: 17.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003117/0.6213, allocations: 2.413 MB / 0.5424 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.632, allocations: 6.795 MB / 0.549 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.6321, allocations: 56.56 kB / 0.5491 GB, free: 8.523 MB / 430.1 MB Notification: Performance of pre-optimization done (n=217): time 4.699e-06/0.6321, allocations: 3.938 kB / 0.5491 GB, free: 8.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=233): time 0.01751/0.6496, allocations: 10.26 MB / 0.5591 GB, free: 14.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002216/0.6518, allocations: 1.856 MB / 0.5609 GB, free: 12.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005666/0.6575, allocations: 3.622 MB / 0.5645 GB, free: 8.664 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003567/0.6578, allocations: 61.7 kB / 0.5645 GB, free: 8.598 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002882/0.6607, allocations: 3.697 MB / 0.5681 GB, free: 4.891 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009897/0.6617, allocations: 0.8671 MB / 0.569 GB, free: 4.027 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001491/0.6632, allocations: 0.9653 MB / 0.5699 GB, free: 3.051 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6633, allocations: 305.1 kB / 0.5702 GB, free: 2.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00311/0.6664, allocations: 1.891 MB / 0.5721 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005326/0.6718, allocations: 4.442 MB / 0.5764 GB, free: 11.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009278/0.681, allocations: 6.792 MB / 0.583 GB, free: 3.164 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.081e-05/0.6811, allocations: 30.16 kB / 0.5831 GB, free: 3.137 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01293/0.694, allocations: 6.95 MB / 0.5898 GB, free: 12.17 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.976e-05/0.6941, allocations: 44 kB / 0.5899 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/0.6943, allocations: 87.94 kB / 0.59 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002078/0.6963, allocations: 0.7387 MB / 0.5907 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003985/0.7003, allocations: 1.123 MB / 0.5918 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008441/0.7088, allocations: 5.406 MB / 0.5971 GB, free: 4.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004642/0.7134, allocations: 311.5 kB / 0.5974 GB, free: 4.355 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009293/0.7143, allocations: 272 kB / 0.5976 GB, free: 4.09 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.005389/0.7197, allocations: 2.526 MB / 0.6001 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/0.7208, allocations: 373.6 kB / 0.6004 GB, free: 1.184 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008853/0.7297, allocations: 4.225 MB / 0.6046 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-05/0.7297, allocations: 35.94 kB / 0.6046 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.7297, allocations: 4 kB / 0.6046 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.529e-05/0.7298, allocations: 11.95 kB / 0.6046 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02748/0.7572, allocations: 12.62 MB / 0.6169 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/0.7573, allocations: 12 kB / 0.617 GB, free: 0 / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/0.7593, allocations: 483.2 kB / 0.6174 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002181/0.7615, allocations: 0.6931 MB / 0.6181 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002282/0.7617, allocations: 71.97 kB / 0.6182 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01032/0.7721, allocations: 7.122 MB / 0.6251 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002042/0.7741, allocations: 1.812 MB / 0.6269 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/0.7858, allocations: 6.718 MB / 0.6335 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002604/0.7884, allocations: 0.7121 MB / 0.6341 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007877/0.7892, allocations: 59.98 kB / 0.6342 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/0.7911, allocations: 163.8 kB / 0.6344 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004874/0.7916, allocations: 233.1 kB / 0.6346 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000198/0.7918, allocations: 91.98 kB / 0.6347 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004076/0.7959, allocations: 2.267 MB / 0.6369 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7959, allocations: 0 / 0.6369 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005946/0.8018, allocations: 1.285 MB / 0.6381 GB, free: 9.699 MB / 0.5137 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.0006598/0.8025, allocations: 222.6 kB / 0.6384 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008971/0.8114, allocations: 4.819 MB / 0.6431 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/0.8115, allocations: 4 kB / 0.6431 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004094/0.8155, allocations: 2.177 MB / 0.6452 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004347/0.8199, allocations: 0.8549 MB / 0.646 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02292/0.8428, allocations: 12.52 MB / 0.6583 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005407/0.8482, allocations: 4.015 MB / 0.6622 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.1912/1.039, allocations: 1.319 MB / 0.6635 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/1.041, allocations: 286.5 kB / 0.6637 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.252e-06/1.041, allocations: 0 / 0.6637 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.07751/1.118, allocations: 47.7 MB / 0.7103 GB, free: 145.2 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.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.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.06642254255712]