Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001739/0.001739, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002148/0.002148, allocations: 213.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 71.88 kB / 379 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2931, allocations: 53.36 MB / 432.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01234/0.3055, allocations: 9.196 MB / 441.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007117/0.3126, allocations: 3.202 MB / 444.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/0.3147, allocations: 55.62 kB / 444.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.3169, allocations: 0.7221 MB / 445.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002512/0.3194, allocations: 0.7768 MB / 446.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007487/0.3202, allocations: 323.5 kB / 446.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002768/0.323, allocations: 2.145 MB / 448.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.3243, allocations: 0.8364 MB / 449.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.3261, allocations: 0.9498 MB / 450.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.3279, allocations: 1.171 MB / 451.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003482/0.3282, allocations: 232 kB / 452 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006851/0.3289, allocations: 339.8 kB / 452.3 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008146/0.3297, allocations: 0.6933 MB / 453 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.331, allocations: 1.089 MB / 454.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003953/0.335, allocations: 3.149 MB / 457.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.335, allocations: 4 kB / 457.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.335, allocations: 0 / 457.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.053e-05/0.335, allocations: 3.938 kB / 457.3 MB, free: 13.95 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.004603/0.3396, allocations: 2.286 MB / 459.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3397, allocations: 8.031 kB / 459.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006884/0.3404, allocations: 247.5 kB / 459.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.3427, allocations: 1.16 MB / 461 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.3428, allocations: 119.4 kB / 461.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/0.343, allocations: 159.9 kB / 461.2 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003464/0.3465, allocations: 2.033 MB / 463.3 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/0.3466, allocations: 7.953 kB / 463.3 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.3467, allocations: 60 kB / 463.3 MB, free: 7.746 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002198/0.3469, allocations: 74.94 kB / 463.4 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/0.3501, allocations: 1.678 MB / 465.1 MB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/0.3615, allocations: 6.926 MB / 472 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009482/0.3624, allocations: 453.8 kB / 472.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004831/0.3629, allocations: 266 kB / 472.7 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.3631, allocations: 48.28 kB / 472.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.3632, allocations: 43 kB / 472.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 3.246e-06/0.3632, allocations: 0 / 472.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.007418/0.3706, allocations: 2.903 MB / 475.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.3707, allocations: 64.05 kB / 475.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/0.3735, allocations: 1.632 MB / 477.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.425e-05/0.3735, allocations: 33.7 kB / 477.4 MB, free: 9.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009481/0.3745, allocations: 1.068 MB / 478.5 MB, free: 8.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.3747, allocations: 250 kB / 478.8 MB, free: 7.902 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005914/0.3753, allocations: 323.3 kB / 479.1 MB, free: 7.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3755, allocations: 305.1 kB / 479.4 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.3765, allocations: 0.527 MB / 479.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.3788, allocations: 1.45 MB / 481.3 MB, free: 4.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/0.3823, allocations: 2.136 MB / 483.5 MB, free: 2.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/0.3823, allocations: 8 kB / 483.5 MB, free: 2.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004103/0.3864, allocations: 2.168 MB / 485.7 MB, free: 60 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.3865, allocations: 20 kB / 485.7 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-05/0.3865, allocations: 32 kB / 485.7 MB, free: 8 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/0.3871, allocations: 230.4 kB / 485.9 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.3883, allocations: 399.2 kB / 486.3 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.3903, allocations: 1.74 MB / 488.1 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.3917, allocations: 143.7 kB / 488.2 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.3918, allocations: 99.98 kB / 488.3 MB, free: 13.29 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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.001003/0.3928, allocations: 0.5866 MB / 488.9 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/0.3931, allocations: 167.1 kB / 489.1 MB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.3952, allocations: 1.093 MB / 490.1 MB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.3952, allocations: 8 kB / 490.2 MB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3952, allocations: 0 / 490.2 MB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.3952, allocations: 7.984 kB / 490.2 MB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004999/0.4002, allocations: 2.719 MB / 492.9 MB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.4002, allocations: 4 kB / 492.9 MB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/0.4008, allocations: 119.8 kB / 493 MB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/0.4012, allocations: 166.6 kB / 493.2 MB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/0.4013, allocations: 16 kB / 493.2 MB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.4031, allocations: 1.686 MB / 494.9 MB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4031, allocations: 11.95 kB / 494.9 MB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003974/0.4071, allocations: 1.643 MB / 496.5 MB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.4081, allocations: 230.9 kB / 496.7 MB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002894/0.4084, allocations: 12 kB / 496.8 MB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.4095, allocations: 51.94 kB / 496.8 MB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.4097, allocations: 48.34 kB / 496.9 MB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.975e-05/0.4098, allocations: 20 kB / 496.9 MB, free: 4.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002738/0.4125, allocations: 1.083 MB / 498 MB, free: 3.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4125, allocations: 0 / 498 MB, free: 3.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002592/0.4151, allocations: 367.9 kB / 498.3 MB, free: 2.984 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (speed.phi) * 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 (60): * Single equations (assignments): 57 * 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 Backend phase and start with SimCode phase: time 0.000468/0.4156, allocations: 159.1 kB / 498.5 MB, free: 2.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003906/0.4195, allocations: 1.421 MB / 499.9 MB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4195, allocations: 0 / 499.9 MB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.421, allocations: 0.5814 MB / 0.4887 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/0.4236, allocations: 413.4 kB / 0.4891 GB, free: 412 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007674/0.4313, allocations: 3.015 MB / 0.4921 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/0.4332, allocations: 1.461 MB / 0.4935 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001727/0.4349, allocations: 358 kB / 0.4938 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.4352, allocations: 111.4 kB / 0.494 GB, free: 11.38 MB / 414.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4352, allocations: 7.875 kB / 0.494 GB, free: 11.37 MB / 414.1 MB Notification: Performance of Templates: time 0.0579/0.4931, allocations: 21.28 MB / 0.5147 GB, free: 6.309 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.1495699575170875]