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.001814/0.001814, allocations: 112.9 kB / 21.1 MB, free: 0.7617 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.002183/0.002183, allocations: 205.5 kB / 24.38 MB, free: 4.176 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.366/1.366, allocations: 230.5 MB / 258 MB, free: 8.105 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.001904/0.001904, allocations: 55.91 kB / 378.7 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2416, allocations: 53.38 MB / 432.1 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.0115/0.2531, allocations: 9.1 MB / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005757/0.2589, allocations: 3.187 MB / 444.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009661/0.2598, allocations: 51.69 kB / 444.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.2616, allocations: 0.726 MB / 445.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.2638, allocations: 0.7769 MB / 445.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007121/0.2645, allocations: 323.4 kB / 446.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002357/0.2669, allocations: 2.147 MB / 448.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.268, allocations: 0.8325 MB / 449.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.2691, allocations: 0.9499 MB / 450.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.2705, allocations: 1.183 MB / 451.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003075/0.2708, allocations: 231.9 kB / 451.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005645/0.2714, allocations: 323.9 kB / 451.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007129/0.2721, allocations: 0.6894 MB / 452.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.2732, allocations: 1.1 MB / 453.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003099/0.2763, allocations: 3.168 MB / 456.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2763, allocations: 0 / 456.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2763, allocations: 0 / 456.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.2763, allocations: 0 / 456.8 MB, free: 14.05 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.00408/0.2804, allocations: 2.282 MB / 459.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2804, allocations: 12.03 kB / 459.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006174/0.281, allocations: 243.5 kB / 459.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.283, allocations: 1.172 MB / 460.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.2831, allocations: 115.5 kB / 460.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/0.2834, allocations: 151.9 kB / 460.8 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/0.2866, allocations: 2.108 MB / 462.9 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-05/0.2867, allocations: 11.89 kB / 462.9 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.2868, allocations: 64 kB / 463 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.725e-05/0.2869, allocations: 78.92 kB / 463.1 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/0.2897, allocations: 1.678 MB / 464.7 MB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00995/0.2996, allocations: 6.894 MB / 471.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.3005, allocations: 444.8 kB / 472.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.3009, allocations: 266 kB / 472.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.3011, allocations: 44.34 kB / 472.4 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3011, allocations: 35 kB / 472.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.444e-06/0.3012, allocations: 4 kB / 472.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.006603/0.3078, allocations: 2.915 MB / 475.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.3078, allocations: 60.06 kB / 475.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/0.3101, allocations: 1.632 MB / 477 MB, free: 9.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.875e-05/0.3102, allocations: 37.7 kB / 477 MB, free: 9.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008805/0.311, allocations: 1.064 MB / 478.1 MB, free: 8.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.3113, allocations: 250 kB / 478.4 MB, free: 7.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004449/0.3117, allocations: 319.3 kB / 478.7 MB, free: 7.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3118, allocations: 301.1 kB / 479 MB, free: 7.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009483/0.3128, allocations: 0.527 MB / 479.5 MB, free: 6.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.3145, allocations: 1.462 MB / 481 MB, free: 4.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.3172, allocations: 2.132 MB / 483.1 MB, free: 2.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/0.3173, allocations: 15.98 kB / 483.1 MB, free: 2.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003736/0.321, allocations: 2.16 MB / 485.3 MB, free: 100 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.321, allocations: 16 kB / 485.3 MB, free: 84 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/0.3211, allocations: 39.98 kB / 485.3 MB, free: 44 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/0.3217, allocations: 230.4 kB / 485.5 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.3229, allocations: 395.3 kB / 485.9 MB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.3247, allocations: 1.736 MB / 487.7 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.326, allocations: 151.7 kB / 487.8 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.3261, allocations: 96 kB / 487.9 MB, free: 13.33 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.0008623/0.327, allocations: 0.5905 MB / 488.5 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.3272, allocations: 159 kB / 488.6 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.3292, allocations: 1.085 MB / 489.7 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.3292, allocations: 11.94 kB / 489.7 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3292, allocations: 3.984 kB / 489.7 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3292, allocations: 4 kB / 489.8 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004552/0.3338, allocations: 2.726 MB / 492.5 MB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3338, allocations: 0 / 492.5 MB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.3343, allocations: 115.9 kB / 492.6 MB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005141/0.3348, allocations: 174.6 kB / 492.8 MB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.3349, allocations: 15.98 kB / 492.8 MB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.3366, allocations: 1.686 MB / 494.5 MB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3366, allocations: 7.875 kB / 494.5 MB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.3392, allocations: 1.639 MB / 496.1 MB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006053/0.3398, allocations: 234.9 kB / 496.3 MB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.34, allocations: 12.14 kB / 496.4 MB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/0.3406, allocations: 55.92 kB / 496.4 MB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.3408, allocations: 60.27 kB / 496.5 MB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.3408, allocations: 20.06 kB / 496.5 MB, free: 4.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001614/0.3424, allocations: 1.079 MB / 497.6 MB, free: 3.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3424, allocations: 0 / 497.6 MB, free: 3.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001309/0.3437, allocations: 363.9 kB / 497.9 MB, free: 3.02 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.0003014/0.344, allocations: 163.1 kB / 498.1 MB, free: 2.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.3466, allocations: 1.417 MB / 499.5 MB, free: 1.426 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3466, allocations: 0 / 499.5 MB, free: 1.426 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.3477, allocations: 0.5775 MB / 0.4884 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.3493, allocations: 408.1 kB / 0.4887 GB, free: 456 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/0.3539, allocations: 3.022 MB / 0.4917 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.3551, allocations: 1.465 MB / 0.4931 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008495/0.356, allocations: 354 kB / 0.4935 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.3562, allocations: 111.4 kB / 0.4936 GB, free: 11.41 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3562, allocations: 0 / 0.4936 GB, free: 11.41 MB / 414.1 MB Notification: Performance of Templates: time 0.03766/0.3939, allocations: 21.29 MB / 0.5144 GB, free: 6.352 MB / 430.1 MB " [Timeout remaining time 660] 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: 4.864948900416493]