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.001355/0.001355, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002129/0.003484, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001111/0.001111, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001755/0.002866, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9448/0.9448, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1845/1.129, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.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.723e-06/1.723e-06, allocations: 0 / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.024e-05, allocations: 5.406 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02428/0.0243, allocations: 28.87 MB / 250.9 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0206/0.04489, allocations: 9.017 MB / 259.9 MB, free: 10 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005713/0.05061, allocations: 195 kB / 260.1 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007324/0.05793, allocations: 5.182 MB / 265.3 MB, free: 4.602 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007147/0.06508, allocations: 3.08 MB / 268.3 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.06782, allocations: 1.601 MB / 269.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009426/0.07725, allocations: 9.131 MB / 279.1 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1656/0.2429, allocations: 9.046 MB / 288.1 MB, free: 8.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0117/0.2546, allocations: 6.786 MB / 294.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007878/0.2624, allocations: 4.58 MB / 299.5 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003472/0.2659, allocations: 1.156 MB / 300.6 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00428/0.2702, allocations: 1.532 MB / 302.2 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.2714, allocations: 1.987 MB / 304.2 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002872/0.2743, allocations: 2.647 MB / 306.8 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006008/0.2803, allocations: 7.307 MB / 314.1 MB, free: 7.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.2803, allocations: 0 / 314.1 MB, free: 7.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2803, allocations: 0 / 314.1 MB, free: 7.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001008/0.2804, allocations: 0 / 314.1 MB, free: 7.758 MB / 282.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.01221/0.2926, allocations: 10.94 MB / 325.1 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.2927, allocations: 12.03 kB / 325.1 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/0.3074, allocations: 5.377 MB / 330.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005266/0.3127, allocations: 2.494 MB / 332.9 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005845/0.3133, allocations: 0.5368 MB / 333.5 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008488/0.3141, allocations: 0.7093 MB / 334.2 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007812/0.3219, allocations: 5.937 MB / 340.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/0.3221, allocations: 19.02 kB / 340.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000545/0.3226, allocations: 302.1 kB / 340.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003045/0.3229, allocations: 426.9 kB / 340.9 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004708/0.3276, allocations: 3.002 MB / 343.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03039/0.358, allocations: 23.29 MB / 367.1 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006728/0.3647, allocations: 4.356 MB / 371.5 MB, free: 4.246 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.3661, allocations: 0.9562 MB / 372.5 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007236/0.3734, allocations: 3.689 MB / 376.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.3734, allocations: 56.56 kB / 376.2 MB, free: 15.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=217): time 6.412e-06/0.3734, allocations: 3.984 kB / 376.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=233): time 0.01203/0.3855, allocations: 5.235 MB / 381.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001203/0.3867, allocations: 1.609 MB / 383 MB, free: 8.855 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/0.3892, allocations: 2.609 MB / 385.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.3893, allocations: 65.7 kB / 385.7 MB, free: 6.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001949/0.3913, allocations: 3.331 MB / 389 MB, free: 3.504 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000571/0.3918, allocations: 0.8619 MB / 389.9 MB, free: 2.688 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.3929, allocations: 0.9034 MB / 390.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.393, allocations: 301.1 kB / 391.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.3944, allocations: 0.6801 MB / 391.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002935/0.3973, allocations: 3.133 MB / 394.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003992/0.4013, allocations: 4.361 MB / 399.3 MB, free: 7.574 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.356e-05/0.4013, allocations: 24 kB / 399.3 MB, free: 7.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.004214/0.4055, allocations: 3.471 MB / 402.8 MB, free: 4.637 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.4056, allocations: 40 kB / 402.8 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.394e-05/0.4056, allocations: 88 kB / 402.9 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.4068, allocations: 0.6529 MB / 403.6 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/0.4088, allocations: 1.172 MB / 404.7 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/0.4118, allocations: 2.89 MB / 407.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.4137, allocations: 247.5 kB / 407.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002267/0.4139, allocations: 228 kB / 408.1 MB, free: 15.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * 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.001466/0.4153, allocations: 478.6 kB / 408.5 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003963/0.4157, allocations: 279.7 kB / 408.8 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/0.4181, allocations: 1.882 MB / 410.7 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.4181, allocations: 28 kB / 410.7 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4181, allocations: 7.938 kB / 410.7 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.4181, allocations: 11.95 kB / 410.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009177/0.4273, allocations: 7.801 MB / 418.6 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.4273, allocations: 14.52 kB / 418.6 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.4284, allocations: 463.8 kB / 419 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000733/0.4291, allocations: 432.1 kB / 419.4 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00165/0.4308, allocations: 0.7778 MB / 420.2 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.4309, allocations: 55.98 kB / 420.3 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1605/0.5914, allocations: 4.21 MB / 424.5 MB, free: 84.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009328/0.5923, allocations: 1.557 MB / 426 MB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004613/0.5969, allocations: 2.684 MB / 428.7 MB, free: 82.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006769/0.5976, allocations: 65.58 kB / 428.8 MB, free: 82.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009579/0.5986, allocations: 91.62 kB / 428.9 MB, free: 82.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000433/0.599, allocations: 225.3 kB / 429.1 MB, free: 82.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/0.5991, allocations: 64.92 kB / 429.2 MB, free: 82.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002037/0.6012, allocations: 1.224 MB / 430.4 MB, free: 82.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6012, allocations: 0 / 430.4 MB, free: 82.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003879/0.6051, allocations: 1.286 MB / 431.7 MB, free: 82.51 MB / 378.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.0004236/0.6055, allocations: 214.1 kB / 431.9 MB, free: 82.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003509/0.609, allocations: 2.636 MB / 434.5 MB, free: 82.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001446/0.6091, allocations: 91.59 kB / 434.6 MB, free: 82.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.6106, allocations: 1.451 MB / 436.1 MB, free: 81.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003417/0.614, allocations: 7.959 MB / 444 MB, free: 74.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05146/0.6655, allocations: 10.84 MB / 454.9 MB, free: 69.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/0.6671, allocations: 1.338 MB / 456.2 MB, free: 69.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002126/0.6692, allocations: 0.5963 MB / 456.8 MB, free: 69.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/0.6706, allocations: 0.8382 MB / 457.6 MB, free: 69.38 MB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/0.6706, allocations: 2.734 kB / 457.6 MB, free: 69.38 MB / 378.7 MB Notification: Performance of Templates: time 0.09293/0.7635, allocations: 55.98 MB / 0.5016 GB, free: 28.94 MB / 378.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.361335067078471]