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.001952/0.001952, allocations: 120.2 kB / 21.94 MB, free: 28 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.002538/0.002538, allocations: 208.8 kB / 25.24 MB, free: 3.562 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.375/1.375, allocations: 207.6 MB / 236 MB, free: 9.984 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.001721/0.001721, allocations: 55.92 kB / 348.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2611, allocations: 49.16 MB / 397.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.008814/0.2699, allocations: 9.042 MB / 406.7 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005721/0.2756, allocations: 3.237 MB / 409.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.2769, allocations: 47.28 kB / 409.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.2787, allocations: 0.7241 MB / 410.7 MB, free: 360 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.281, allocations: 0.7493 MB / 411.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009414/0.282, allocations: 348.8 kB / 411.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003066/0.2851, allocations: 2.1 MB / 413.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.2863, allocations: 0.8196 MB / 414.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.2877, allocations: 0.9247 MB / 415.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.2895, allocations: 1.163 MB / 416.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002852/0.2898, allocations: 235.5 kB / 417 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006498/0.2905, allocations: 322.3 kB / 417.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007239/0.2912, allocations: 0.6812 MB / 418 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.2924, allocations: 1.082 MB / 419.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003543/0.2959, allocations: 3.134 MB / 422.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2959, allocations: 0 / 422.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2959, allocations: 0 / 422.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.836e-05/0.296, allocations: 1.188 kB / 422.2 MB, free: 9.086 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.004423/0.3004, allocations: 2.24 MB / 424.4 MB, free: 7.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3004, allocations: 17.25 kB / 424.5 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/0.301, allocations: 235.8 kB / 424.7 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.3032, allocations: 1.094 MB / 425.8 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.3033, allocations: 116.3 kB / 425.9 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.3036, allocations: 164.9 kB / 426.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003415/0.307, allocations: 2.001 MB / 428.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-05/0.307, allocations: 7.953 kB / 428.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.3072, allocations: 64 kB / 428.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-05/0.3073, allocations: 78.92 kB / 428.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/0.3102, allocations: 1.647 MB / 429.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01078/0.321, allocations: 6.785 MB / 436.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008571/0.3219, allocations: 420.6 kB / 437 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003915/0.3223, allocations: 250 kB / 437.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.3225, allocations: 48.86 kB / 437.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.3225, allocations: 42.94 kB / 437.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.555e-06/0.3225, allocations: 0 / 437.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.007441/0.3299, allocations: 3.149 MB / 440.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0026/0.3325, allocations: 2.231 MB / 442.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/0.3351, allocations: 1.623 MB / 444.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/0.3351, allocations: 33.7 kB / 444.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009776/0.3361, allocations: 1.056 MB / 445.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.3364, allocations: 246 kB / 445.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005155/0.3369, allocations: 323.3 kB / 446 MB, free: 2.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3371, allocations: 301.1 kB / 446.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008504/0.3379, allocations: 0.5153 MB / 446.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.3396, allocations: 1.461 MB / 448.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/0.3423, allocations: 2.141 MB / 450.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.3423, allocations: 12 kB / 450.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003868/0.3462, allocations: 2.166 MB / 452.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.3462, allocations: 20 kB / 452.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.491e-05/0.3462, allocations: 32 kB / 452.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/0.3468, allocations: 226.4 kB / 452.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.348, allocations: 391.3 kB / 453.3 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.3499, allocations: 1.752 MB / 455 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.3513, allocations: 143.6 kB / 455.2 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.3515, allocations: 99.98 kB / 455.3 MB, free: 7.848 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.0009424/0.3524, allocations: 0.5828 MB / 455.8 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.3527, allocations: 166.9 kB / 456 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.3546, allocations: 1.108 MB / 457.1 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.3546, allocations: 8 kB / 457.1 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3546, allocations: 64 / 457.1 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.3546, allocations: 4 kB / 457.1 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005478/0.3601, allocations: 3.309 MB / 460.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.3601, allocations: 4 kB / 460.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.3605, allocations: 111.8 kB / 460.5 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000621/0.3612, allocations: 222.9 kB / 460.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/0.3612, allocations: 23.98 kB / 460.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004287/0.3655, allocations: 3.847 MB / 464.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00216/0.3677, allocations: 2.066 MB / 466.7 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/0.3704, allocations: 1.758 MB / 468.5 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000675/0.3711, allocations: 238.9 kB / 468.7 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.3713, allocations: 19.94 kB / 468.7 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006439/0.3719, allocations: 51.94 kB / 468.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.372, allocations: 67.78 kB / 468.8 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.3721, allocations: 27.98 kB / 468.9 MB, free: 9.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001648/0.3737, allocations: 1.066 MB / 469.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3737, allocations: 0 / 469.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001557/0.3753, allocations: 383.9 kB / 470.3 MB, free: 8.16 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.0002993/0.3756, allocations: 167 kB / 470.5 MB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002348/0.3779, allocations: 1.413 MB / 471.9 MB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.3779, allocations: 4 kB / 471.9 MB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.3792, allocations: 0.7371 MB / 472.6 MB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.3809, allocations: 421.4 kB / 473 MB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00558/0.3865, allocations: 3.294 MB / 476.3 MB, free: 1.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.3877, allocations: 1.453 MB / 477.8 MB, free: 488 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.3881, allocations: 123.4 kB / 477.9 MB, free: 368 kB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3881, allocations: 0 / 477.9 MB, free: 368 kB / 382.1 MB Notification: Performance of Templates: time 0.06048/0.4486, allocations: 47.52 MB / 0.5131 GB, free: 0.7461 MB / 430.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/jenkins1/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/jenkins1/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: 11.308064260985702]