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.001433/0.001433, allocations: 75.77 kB / 22.45 MB, free: 2.098 MB / 18.57 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.0011/0.0011, allocations: 166.1 kB / 25.75 MB, free: 8.582 MB / 18.57 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 0.8593/0.8593, allocations: 158.6 MB / 187.6 MB, free: 2.898 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 251.1 MB, free: 7.773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.343e-05, allocations: 6.109 kB / 251.1 MB, free: 7.77 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02156/0.02158, allocations: 29.66 MB / 280.8 MB, free: 9.977 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.0325, allocations: 8.534 MB / 289.3 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.03378, allocations: 199 kB / 289.5 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004712/0.0385, allocations: 5.175 MB / 294.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.04199, allocations: 3.095 MB / 297.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.04358, allocations: 1.621 MB / 299.4 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005542/0.04912, allocations: 9.073 MB / 308.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007587/0.05671, allocations: 9.11 MB / 317.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00806/0.06477, allocations: 6.399 MB / 324 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005964/0.07073, allocations: 4.444 MB / 328.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002157/0.07289, allocations: 1.16 MB / 329.6 MB, free: 8.945 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.0759, allocations: 1.515 MB / 331.1 MB, free: 7.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001964/0.07786, allocations: 2.501 MB / 333.6 MB, free: 4.922 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004287/0.08215, allocations: 3.181 MB / 336.8 MB, free: 1.734 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00866/0.09081, allocations: 7.747 MB / 344.6 MB, free: 9.961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.09081, allocations: 4 kB / 344.6 MB, free: 9.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09082, allocations: 0 / 344.6 MB, free: 9.957 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002094/0.09103, allocations: 0 / 344.6 MB, free: 9.957 MB / 330.7 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.1319/0.2229, allocations: 10.36 MB / 354.9 MB, free: 101.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.223, allocations: 10.33 kB / 354.9 MB, free: 101.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0171/0.2401, allocations: 6.598 MB / 361.5 MB, free: 100.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005726/0.2458, allocations: 4.383 MB / 365.9 MB, free: 96.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/0.2461, allocations: 0.5294 MB / 366.4 MB, free: 95.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/0.2473, allocations: 0.7097 MB / 367.1 MB, free: 95.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009652/0.257, allocations: 6.372 MB / 373.5 MB, free: 88.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/0.2572, allocations: 27.83 kB / 373.5 MB, free: 88.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004919/0.2576, allocations: 299.5 kB / 373.8 MB, free: 88.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002362/0.2579, allocations: 446.8 kB / 374.3 MB, free: 87.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009046/0.2669, allocations: 3.7 MB / 378 MB, free: 84.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03564/0.3026, allocations: 30.59 MB / 408.6 MB, free: 53.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008019/0.3106, allocations: 6.478 MB / 415 MB, free: 47.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/0.3127, allocations: 1.222 MB / 416.3 MB, free: 46.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008369/0.321, allocations: 4.929 MB / 421.2 MB, free: 41.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.3211, allocations: 63.33 kB / 421.3 MB, free: 41.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=217): time 5.049e-06/0.3211, allocations: 0 / 421.3 MB, free: 41.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=233): time 0.00997/0.3311, allocations: 6.344 MB / 427.6 MB, free: 35.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001028/0.3321, allocations: 2.226 MB / 429.8 MB, free: 33.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003055/0.3352, allocations: 3.321 MB / 433.1 MB, free: 29.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001883/0.3353, allocations: 65.7 kB / 433.2 MB, free: 29.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.3366, allocations: 3.863 MB / 437.1 MB, free: 25.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004445/0.337, allocations: 0.8833 MB / 438 MB, free: 24.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007812/0.3378, allocations: 1.029 MB / 439 MB, free: 23.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.659e-05/0.3378, allocations: 476.8 kB / 439.5 MB, free: 23.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009677/0.3388, allocations: 0.6459 MB / 440.1 MB, free: 22.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.3406, allocations: 4.389 MB / 444.5 MB, free: 16.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003559/0.3441, allocations: 5.528 MB / 450 MB, free: 9.488 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.491e-05/0.3442, allocations: 24 kB / 450 MB, free: 9.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.0058/0.35, allocations: 4.598 MB / 454.6 MB, free: 4.848 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.35, allocations: 40 kB / 454.7 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.55e-05/0.3501, allocations: 92.42 kB / 454.8 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.3515, allocations: 0.7106 MB / 455.5 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.3533, allocations: 1.119 MB / 456.6 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.3565, allocations: 3.821 MB / 460.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/0.3586, allocations: 311.5 kB / 460.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002678/0.3589, allocations: 275.9 kB / 461 MB, free: 14.36 MB / 346.7 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.00141/0.3603, allocations: 0.5139 MB / 461.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006223/0.3609, allocations: 461.5 kB / 462 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/0.3644, allocations: 2.461 MB / 464.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.3644, allocations: 24 kB / 464.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.3644, allocations: 11.94 kB / 464.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.3644, allocations: 11.95 kB / 464.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/0.3787, allocations: 11.47 MB / 475.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.3788, allocations: 12 kB / 475.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.3798, allocations: 475.2 kB / 476.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.3814, allocations: 0.6746 MB / 477.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.3816, allocations: 67.98 kB / 477.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004926/0.3865, allocations: 5.757 MB / 482.9 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001117/0.3876, allocations: 2.184 MB / 485.1 MB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004836/0.3925, allocations: 3.604 MB / 488.7 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.3935, allocations: 0.6652 MB / 489.4 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003025/0.3938, allocations: 60 kB / 489.4 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008877/0.3947, allocations: 167.8 kB / 489.6 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.395, allocations: 229.4 kB / 489.8 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.3951, allocations: 91.98 kB / 489.9 MB, free: 440 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.1097/0.5048, allocations: 1.583 MB / 491.5 MB, free: 107.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5048, allocations: 0 / 491.5 MB, free: 107.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004008/0.5088, allocations: 1.28 MB / 492.8 MB, free: 107.2 MB / 362.7 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.0004054/0.5092, allocations: 231.1 kB / 493 MB, free: 107.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003777/0.513, allocations: 3.124 MB / 496.1 MB, free: 106.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.513, allocations: 3.812 kB / 496.1 MB, free: 106.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.5147, allocations: 1.641 MB / 497.8 MB, free: 106.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/0.5173, allocations: 0.8735 MB / 498.6 MB, free: 106 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.53, allocations: 10.86 MB / 0.4975 GB, free: 101.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.5312, allocations: 1.769 MB / 0.4993 GB, free: 101.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002132/0.5334, allocations: 1.144 MB / 0.5004 GB, free: 101.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/0.5338, allocations: 286.8 kB / 0.5007 GB, free: 100.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.934e-06/0.5338, allocations: 0 / 0.5007 GB, free: 100.8 MB / 362.7 MB Notification: Performance of Templates: time 0.05462/0.5885, allocations: 47.6 MB / 0.5471 GB, free: 55.86 MB / 362.7 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.163854556158185]