Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.00184/0.00184, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 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.002211/0.002211, allocations: 168 kB / 23.95 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.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+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.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_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_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.19e-05, allocations: 2.281 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01047/0.01049, allocations: 8.108 MB / 333.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006202/0.01669, allocations: 2.993 MB / 336.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008538/0.01755, allocations: 52.91 kB / 336.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.01913, allocations: 0.6554 MB / 336.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.02108, allocations: 0.7955 MB / 337.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006767/0.02175, allocations: 315 kB / 338 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002374/0.02413, allocations: 2.219 MB / 340.2 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.0253, allocations: 0.8012 MB / 341 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.02723, allocations: 1.38 MB / 342.4 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.02872, allocations: 0.9702 MB / 343.4 MB, free: 2.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003689/0.02909, allocations: 232 kB / 343.6 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.02976, allocations: 335.7 kB / 343.9 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00074/0.0305, allocations: 0.7089 MB / 344.6 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009716/0.03147, allocations: 0.7522 MB / 345.4 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003504/0.03498, allocations: 3.166 MB / 348.5 MB, free: 13.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.03498, allocations: 0 / 348.5 MB, free: 13.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.03498, allocations: 0 / 348.5 MB, free: 13.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.071e-05/0.03501, allocations: 4 kB / 348.5 MB, free: 13.6 MB / 318.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.004231/0.03925, allocations: 2.258 MB / 350.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.03928, allocations: 8.031 kB / 350.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006987/0.03998, allocations: 247.5 kB / 351 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.04203, allocations: 1.171 MB / 352.2 MB, free: 9.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.04214, allocations: 123.5 kB / 352.3 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.04238, allocations: 148.4 kB / 352.5 MB, free: 9.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003442/0.04582, allocations: 2.112 MB / 354.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.47e-05/0.04587, allocations: 3.953 kB / 354.6 MB, free: 7.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.04603, allocations: 71.92 kB / 354.7 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.752e-05/0.04612, allocations: 86.86 kB / 354.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002934/0.04906, allocations: 1.671 MB / 356.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009157/0.05822, allocations: 6.185 MB / 362.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008907/0.05911, allocations: 459.2 kB / 363.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.05958, allocations: 262.2 kB / 363.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001939/0.05978, allocations: 44.39 kB / 363.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.05981, allocations: 39.06 kB / 363.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.295e-06/0.05982, allocations: 4 kB / 363.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.007078/0.06689, allocations: 2.895 MB / 366.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.06694, allocations: 56.06 kB / 366.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/0.06908, allocations: 1.547 MB / 367.9 MB, free: 9.691 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.013e-05/0.06914, allocations: 37.7 kB / 367.9 MB, free: 9.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008312/0.06997, allocations: 1.068 MB / 369 MB, free: 8.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.07018, allocations: 242 kB / 369.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004511/0.07063, allocations: 315.3 kB / 369.5 MB, free: 8.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.07076, allocations: 305.1 kB / 369.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009742/0.07173, allocations: 0.5269 MB / 370.4 MB, free: 7.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.07343, allocations: 1.454 MB / 371.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002902/0.07633, allocations: 2.128 MB / 374 MB, free: 2.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-05/0.07635, allocations: 12 kB / 374 MB, free: 2.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003869/0.08022, allocations: 2.156 MB / 376.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.08025, allocations: 20.19 kB / 376.1 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.612e-05/0.08029, allocations: 36 kB / 376.2 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005881/0.08088, allocations: 226.4 kB / 376.4 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.08211, allocations: 395.4 kB / 376.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.08401, allocations: 1.729 MB / 378.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.08533, allocations: 143.7 kB / 378.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.08546, allocations: 92 kB / 378.7 MB, free: 13.76 MB / 350.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.0009132/0.08637, allocations: 0.5937 MB / 379.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.08661, allocations: 147.1 kB / 379.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.08875, allocations: 1.08 MB / 380.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.08876, allocations: 8.141 kB / 380.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.08876, allocations: 7.984 kB / 380.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.08878, allocations: 7.922 kB / 380.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004416/0.09319, allocations: 2.376 MB / 383 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.0932, allocations: 4.156 kB / 383 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/0.09373, allocations: 119.8 kB / 383.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004533/0.09418, allocations: 162.4 kB / 383.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.09422, allocations: 19.98 kB / 383.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.09592, allocations: 1.663 MB / 384.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.09593, allocations: 4.031 kB / 384.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/0.0987, allocations: 1.626 MB / 386.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005304/0.09923, allocations: 211 kB / 386.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.0994, allocations: 15.94 kB / 386.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006584/0.1001, allocations: 51.94 kB / 386.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.1002, allocations: 48.41 kB / 386.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/0.1002, allocations: 24 kB / 386.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001481/0.1017, allocations: 0.9739 MB / 387.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1017, allocations: 0 / 387.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001635/0.1034, allocations: 364 kB / 388.2 MB, free: 4.012 MB / 350.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.0003477/0.1037, allocations: 169.8 kB / 388.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002747/0.1065, allocations: 1.421 MB / 389.8 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1065, allocations: 4.062 kB / 389.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.1076, allocations: 0.577 MB / 390.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.1093, allocations: 354.4 kB / 390.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/0.1144, allocations: 2.944 MB / 393.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.1154, allocations: 0.8778 MB / 394.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009234/0.1164, allocations: 341 kB / 394.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.1166, allocations: 108.5 kB / 395 MB, free: 13.12 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1166, allocations: 0 / 395 MB, free: 13.12 MB / 366.1 MB Notification: Performance of Templates: time 0.03494/0.1516, allocations: 18.73 MB / 413.7 MB, free: 10.7 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.99580879881978]