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.006123/0.006123, allocations: 111.3 kB / 21.98 MB, free: 5.18 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.001474/0.001474, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.429/1.429, allocations: 230.6 MB / 259 MB, free: 8.043 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.002/0.002, allocations: 67.88 kB / 379.8 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2415, allocations: 53.36 MB / 433.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01132/0.2528, allocations: 9.198 MB / 442.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006466/0.2592, allocations: 3.195 MB / 445.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.2604, allocations: 55.62 kB / 445.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.2624, allocations: 0.7299 MB / 446.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.2646, allocations: 0.7612 MB / 447.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.2654, allocations: 327.4 kB / 447.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002692/0.2681, allocations: 2.149 MB / 449.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.2693, allocations: 0.8364 MB / 450.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.2707, allocations: 0.9538 MB / 451.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.2725, allocations: 1.171 MB / 452.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003534/0.2728, allocations: 232 kB / 452.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006554/0.2735, allocations: 335.8 kB / 453.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007399/0.2742, allocations: 0.6894 MB / 453.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.2754, allocations: 1.097 MB / 454.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003608/0.279, allocations: 3.153 MB / 458 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.279, allocations: 3.938 kB / 458 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.279, allocations: 0 / 458 MB, free: 14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.672e-05/0.2791, allocations: 0 / 458 MB, free: 14 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.004439/0.2835, allocations: 2.277 MB / 460.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2835, allocations: 12.03 kB / 460.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006484/0.2842, allocations: 243.5 kB / 460.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.2865, allocations: 1.164 MB / 461.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.2866, allocations: 123.5 kB / 461.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002514/0.2868, allocations: 155.9 kB / 462 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003453/0.2903, allocations: 2.033 MB / 464 MB, free: 7.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.703e-05/0.2903, allocations: 7.953 kB / 464 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.2905, allocations: 63.98 kB / 464.1 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.773e-05/0.2906, allocations: 78.94 kB / 464.2 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003081/0.2936, allocations: 1.682 MB / 465.9 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/0.3041, allocations: 6.91 MB / 472.8 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009286/0.3051, allocations: 465.8 kB / 473.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.3055, allocations: 270 kB / 473.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.3057, allocations: 40.34 kB / 473.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.3058, allocations: 43 kB / 473.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.455e-06/0.3058, allocations: 0 / 473.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.006879/0.3126, allocations: 2.907 MB / 476.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.3127, allocations: 60.06 kB / 476.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/0.3151, allocations: 1.632 MB / 478.2 MB, free: 9.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/0.3151, allocations: 33.7 kB / 478.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008949/0.316, allocations: 1.076 MB / 479.3 MB, free: 8.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.3163, allocations: 250 kB / 479.5 MB, free: 7.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004731/0.3167, allocations: 323.3 kB / 479.8 MB, free: 7.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3169, allocations: 301.1 kB / 480.1 MB, free: 7.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009542/0.3178, allocations: 0.5231 MB / 480.7 MB, free: 6.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.3196, allocations: 1.45 MB / 482.1 MB, free: 4.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.3226, allocations: 2.136 MB / 484.2 MB, free: 2.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.12e-05/0.3227, allocations: 12 kB / 484.3 MB, free: 2.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004167/0.3268, allocations: 2.171 MB / 486.4 MB, free: 104 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.3269, allocations: 20 kB / 486.4 MB, free: 84 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-05/0.3269, allocations: 32 kB / 486.5 MB, free: 52 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/0.3275, allocations: 231 kB / 486.7 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.3288, allocations: 403.2 kB / 487.1 MB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.3307, allocations: 1.736 MB / 488.8 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.332, allocations: 143.7 kB / 489 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.3322, allocations: 96 kB / 489.1 MB, free: 13.34 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.0009342/0.3331, allocations: 0.5867 MB / 489.7 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.3334, allocations: 166.9 kB / 489.8 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/0.3355, allocations: 1.089 MB / 490.9 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.3355, allocations: 8 kB / 490.9 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3355, allocations: 0 / 490.9 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3355, allocations: 3.984 kB / 490.9 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004833/0.3404, allocations: 2.723 MB / 493.6 MB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.3404, allocations: 4 kB / 493.6 MB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/0.3409, allocations: 123.8 kB / 493.8 MB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/0.3413, allocations: 162.4 kB / 493.9 MB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.3414, allocations: 12 kB / 493.9 MB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.3432, allocations: 1.694 MB / 495.6 MB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3432, allocations: 3.938 kB / 495.6 MB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.346, allocations: 1.647 MB / 497.3 MB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000634/0.3466, allocations: 242.8 kB / 497.5 MB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.3468, allocations: 12 kB / 497.5 MB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.3475, allocations: 52 kB / 497.6 MB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.3476, allocations: 48.34 kB / 497.6 MB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.3477, allocations: 20 kB / 497.6 MB, free: 4.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001713/0.3494, allocations: 1.079 MB / 498.7 MB, free: 3.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3494, allocations: 0 / 498.7 MB, free: 3.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001417/0.3508, allocations: 363.9 kB / 499.1 MB, free: 3.031 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.0003197/0.3511, allocations: 164.5 kB / 499.2 MB, free: 2.863 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002784/0.3539, allocations: 1.425 MB / 0.4889 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3539, allocations: 0 / 0.4889 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.355, allocations: 0.5735 MB / 0.4895 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.3568, allocations: 406.5 kB / 0.4899 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/0.3619, allocations: 3.075 MB / 0.4929 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.3631, allocations: 1.453 MB / 0.4943 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/0.3635, allocations: 123.4 kB / 0.4944 GB, free: 11.71 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3635, allocations: 0 / 0.4944 GB, free: 11.71 MB / 414.1 MB Notification: Performance of Templates: time 0.249/0.6125, allocations: 47.61 MB / 0.5409 GB, free: 103.8 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/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: 11.645122854039073]