Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0009038/0.0009038, allocations: 84.34 kB / 21.43 MB, free: 3.125 MB / 18.57 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.003618/0.003618, allocations: 154.2 kB / 24.7 MB, free: 9.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8623/0.8623, allocations: 177 MB / 204.9 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.175e-05, allocations: 4.953 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.007568/0.007599, allocations: 8.089 MB / 333.9 MB, free: 7.258 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005018/0.01262, allocations: 2.991 MB / 336.9 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.01367, allocations: 55.62 kB / 336.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.01498, allocations: 0.656 MB / 337.6 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.01674, allocations: 0.7878 MB / 338.4 MB, free: 2.746 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.0173, allocations: 327.4 kB / 338.7 MB, free: 2.426 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001889/0.01918, allocations: 2.221 MB / 340.9 MB, free: 196 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009488/0.02013, allocations: 0.7934 MB / 341.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.02192, allocations: 1.384 MB / 343.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.02317, allocations: 0.978 MB / 344.1 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003823/0.02355, allocations: 232 kB / 344.3 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004681/0.02402, allocations: 327.8 kB / 344.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000433/0.02445, allocations: 0.705 MB / 345.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005873/0.02504, allocations: 0.7483 MB / 346.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.02723, allocations: 3.174 MB / 349.2 MB, free: 7.797 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.02723, allocations: 0 / 349.2 MB, free: 7.797 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.02723, allocations: 0 / 349.2 MB, free: 7.797 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.021e-05/0.0273, allocations: 0 / 349.2 MB, free: 7.797 MB / 314.7 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.003068/0.03036, allocations: 2.254 MB / 351.5 MB, free: 5.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.0304, allocations: 15.92 kB / 351.5 MB, free: 5.484 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000436/0.03084, allocations: 247.5 kB / 351.7 MB, free: 5.242 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.03223, allocations: 1.175 MB / 352.9 MB, free: 4.023 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/0.0323, allocations: 111.5 kB / 353 MB, free: 3.914 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.03246, allocations: 152.4 kB / 353.2 MB, free: 3.766 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.03483, allocations: 2.124 MB / 355.3 MB, free: 1.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.03487, allocations: 7.953 kB / 355.3 MB, free: 1.562 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.03497, allocations: 60 kB / 355.4 MB, free: 1.504 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.459e-05/0.03505, allocations: 78.94 kB / 355.4 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.03705, allocations: 1.671 MB / 357.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006628/0.04367, allocations: 6.193 MB / 363.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.0443, allocations: 453.9 kB / 363.8 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.04457, allocations: 270.2 kB / 364 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.04472, allocations: 44.41 kB / 364.1 MB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.04475, allocations: 35.53 kB / 364.1 MB, free: 8.438 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 2.915e-06/0.04475, allocations: 0 / 364.1 MB, free: 8.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.004509/0.04926, allocations: 2.902 MB / 367 MB, free: 5.504 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.04931, allocations: 60.06 kB / 367.1 MB, free: 5.434 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.05096, allocations: 1.543 MB / 368.6 MB, free: 3.879 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.05099, allocations: 37.64 kB / 368.6 MB, free: 3.836 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005998/0.05159, allocations: 1.068 MB / 369.7 MB, free: 2.758 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.05176, allocations: 250 kB / 369.9 MB, free: 2.512 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00033/0.05209, allocations: 319.3 kB / 370.3 MB, free: 2.191 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.05218, allocations: 301.1 kB / 370.6 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005815/0.05276, allocations: 0.5231 MB / 371.1 MB, free: 1.371 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009896/0.05375, allocations: 1.454 MB / 372.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.05552, allocations: 2.132 MB / 374.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.05553, allocations: 8 kB / 374.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.002505/0.05803, allocations: 2.156 MB / 376.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.05807, allocations: 23.28 kB / 376.9 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.05809, allocations: 32 kB / 376.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/0.0585, allocations: 226.4 kB / 377.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.05918, allocations: 403.3 kB / 377.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.06051, allocations: 1.713 MB / 379.2 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009982/0.06151, allocations: 143.7 kB / 379.4 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/0.0616, allocations: 99.94 kB / 379.4 MB, free: 7.957 MB / 346.7 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.0008181/0.06242, allocations: 0.5906 MB / 380 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.06259, allocations: 143.1 kB / 380.2 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.06387, allocations: 1.084 MB / 381.3 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.06387, allocations: 8 kB / 381.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.06387, allocations: 0 / 381.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.06388, allocations: 7.922 kB / 381.3 MB, free: 6.086 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002854/0.06674, allocations: 2.384 MB / 383.7 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.06674, allocations: 4 kB / 383.7 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.06703, allocations: 115.9 kB / 383.8 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002856/0.06732, allocations: 166.4 kB / 383.9 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.06735, allocations: 12 kB / 384 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.0685, allocations: 1.663 MB / 385.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.0685, allocations: 7.938 kB / 385.6 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.07017, allocations: 1.619 MB / 387.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/0.07058, allocations: 219 kB / 387.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.791e-05/0.07066, allocations: 15.94 kB / 387.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.07101, allocations: 47.94 kB / 387.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.07111, allocations: 52.34 kB / 387.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.07114, allocations: 16.06 kB / 387.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001017/0.07216, allocations: 0.9817 MB / 388.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.07216, allocations: 0 / 388.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001084/0.07324, allocations: 359.9 kB / 388.9 MB, free: 14.21 MB / 362.7 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.0002957/0.07354, allocations: 167 kB / 389.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.07533, allocations: 1.421 MB / 390.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.07533, allocations: 0 / 390.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006185/0.07595, allocations: 0.5775 MB / 391.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.07697, allocations: 355.7 kB / 391.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.08077, allocations: 3.012 MB / 394.4 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/0.08146, allocations: 0.8661 MB / 395.3 MB, free: 7.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.08176, allocations: 116.5 kB / 395.4 MB, free: 7.598 MB / 362.7 MB Notification: Performance of SimCode: time 1.874e-06/0.08176, allocations: 0 / 395.4 MB, free: 7.598 MB / 362.7 MB Notification: Performance of Templates: time 0.0426/0.1244, allocations: 47.26 MB / 442.7 MB, free: 8.363 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.944589463062584]