Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.00139/0.00139, allocations: 107.6 kB / 21.18 MB, free: 452 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.001515/0.001515, allocations: 217.1 kB / 24.47 MB, free: 3.777 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.438/1.438, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") [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.001967/0.001967, allocations: 55.92 kB / 347.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2278, allocations: 49.15 MB / 396.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.008099/0.2359, allocations: 7.949 MB / 404.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005046/0.2409, allocations: 3.012 MB / 407.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.2426, allocations: 46.66 kB / 407.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.2447, allocations: 0.6559 MB / 408.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.2473, allocations: 0.747 MB / 409.3 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008942/0.2482, allocations: 341.5 kB / 409.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002572/0.2507, allocations: 2.101 MB / 411.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.252, allocations: 0.782 MB / 412.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.2536, allocations: 0.9289 MB / 413.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.2556, allocations: 1.092 MB / 414.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004255/0.256, allocations: 229.8 kB / 414.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007792/0.2568, allocations: 314.6 kB / 415 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007572/0.2576, allocations: 0.6809 MB / 415.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.2587, allocations: 0.8758 MB / 416.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003807/0.2625, allocations: 3.147 MB / 419.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2625, allocations: 0 / 419.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2625, allocations: 0 / 419.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001001/0.2626, allocations: 0 / 419.7 MB, free: 10.75 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.00533/0.268, allocations: 2.241 MB / 422 MB, free: 9.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.268, allocations: 14.27 kB / 422 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007301/0.2687, allocations: 238.4 kB / 422.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.2711, allocations: 1.107 MB / 423.3 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.2712, allocations: 112.8 kB / 423.4 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.2715, allocations: 152.5 kB / 423.6 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/0.2751, allocations: 2.084 MB / 425.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/0.2751, allocations: 7.953 kB / 425.7 MB, free: 6.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.2753, allocations: 60 kB / 425.7 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.2754, allocations: 82.84 kB / 425.8 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/0.2782, allocations: 1.647 MB / 427.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009885/0.288, allocations: 6.042 MB / 433.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/0.2888, allocations: 425.5 kB / 433.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004039/0.2892, allocations: 259.4 kB / 434.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.2894, allocations: 36.41 kB / 434.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.2894, allocations: 39 kB / 434.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.265e-06/0.2895, allocations: 3.938 kB / 434.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.007369/0.2968, allocations: 3.149 MB / 437.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002676/0.2995, allocations: 2.192 MB / 439.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.3018, allocations: 1.519 MB / 441.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.579e-05/0.3019, allocations: 37.7 kB / 441.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009147/0.3028, allocations: 1.06 MB / 442.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.3031, allocations: 246 kB / 442.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004662/0.3035, allocations: 327.3 kB / 442.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3037, allocations: 309.1 kB / 443.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008553/0.3045, allocations: 0.5153 MB / 443.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.3062, allocations: 1.461 MB / 445 MB, free: 1.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/0.3089, allocations: 2.142 MB / 447.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.3089, allocations: 8 kB / 447.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003685/0.3126, allocations: 2.151 MB / 449.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.3126, allocations: 24.03 kB / 449.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.823e-05/0.3127, allocations: 35.94 kB / 449.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005531/0.3132, allocations: 230.5 kB / 449.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.3145, allocations: 395.2 kB / 450 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.3163, allocations: 1.718 MB / 451.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.3178, allocations: 139.7 kB / 451.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.3179, allocations: 95.98 kB / 452 MB, free: 10.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * 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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009789/0.3189, allocations: 0.5866 MB / 452.6 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/0.3192, allocations: 155.1 kB / 452.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/0.3212, allocations: 1.091 MB / 453.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.3213, allocations: 8 kB / 453.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3213, allocations: 0 / 453.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.3213, allocations: 3.984 kB / 453.8 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005748/0.327, allocations: 3.017 MB / 456.8 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.327, allocations: 4 kB / 456.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.3275, allocations: 115.8 kB / 456.9 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006494/0.3281, allocations: 218.4 kB / 457.2 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-05/0.3282, allocations: 27.92 kB / 457.2 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004271/0.3324, allocations: 3.786 MB / 461 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002208/0.3346, allocations: 2.035 MB / 463 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.3374, allocations: 1.742 MB / 464.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008121/0.3382, allocations: 223 kB / 465 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.3384, allocations: 23.88 kB / 465 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006667/0.3391, allocations: 48.25 kB / 465 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.3392, allocations: 63.78 kB / 465.1 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.009e-05/0.3393, allocations: 36.05 kB / 465.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001567/0.3409, allocations: 0.9576 MB / 466.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3409, allocations: 4 kB / 466.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0017/0.3426, allocations: 379.9 kB / 466.5 MB, free: 11.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 54 * 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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003368/0.3429, allocations: 175.1 kB / 466.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002602/0.3455, allocations: 1.412 MB / 468 MB, free: 9.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3455, allocations: 4 kB / 468.1 MB, free: 9.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.3469, allocations: 0.7412 MB / 468.8 MB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.3486, allocations: 352.8 kB / 469.1 MB, free: 8.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005553/0.3542, allocations: 3.21 MB / 472.3 MB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.3553, allocations: 0.8849 MB / 473.2 MB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001042/0.3564, allocations: 332.9 kB / 473.6 MB, free: 3.797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.3566, allocations: 115.3 kB / 473.7 MB, free: 3.684 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3566, allocations: 3.938 kB / 473.7 MB, free: 3.68 MB / 382.1 MB Notification: Performance of Templates: time 0.04062/0.3972, allocations: 21.71 MB / 495.4 MB, free: 13.93 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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: 5.132717840373516]