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.001598/0.001598, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001533/0.001533, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 7.969 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+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 0.001622/0.001622, allocations: 47.92 kB / 379 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.266, allocations: 53.37 MB / 432.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01197/0.278, allocations: 9.201 MB / 441.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006529/0.2845, allocations: 3.194 MB / 444.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.2857, allocations: 59.62 kB / 444.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.2876, allocations: 0.726 MB / 445.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.29, allocations: 0.773 MB / 446.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008414/0.2908, allocations: 315.5 kB / 446.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002812/0.2936, allocations: 2.14 MB / 448.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.2949, allocations: 0.8403 MB / 449.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.2964, allocations: 0.9537 MB / 450.6 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.298, allocations: 1.179 MB / 451.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003294/0.2984, allocations: 228 kB / 452 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006491/0.299, allocations: 331.8 kB / 452.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007446/0.2998, allocations: 0.6895 MB / 453 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.3009, allocations: 1.1 MB / 454.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003693/0.3046, allocations: 3.153 MB / 457.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3046, allocations: 0 / 457.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3046, allocations: 0 / 457.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.354e-05/0.3047, allocations: 0 / 457.3 MB, free: 13.91 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.004823/0.3095, allocations: 2.278 MB / 459.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3096, allocations: 8.031 kB / 459.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006969/0.3103, allocations: 247.5 kB / 459.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.3126, allocations: 1.168 MB / 461 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.3127, allocations: 115.5 kB / 461.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002511/0.313, allocations: 163.9 kB / 461.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003466/0.3165, allocations: 2.029 MB / 463.3 MB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.195e-05/0.3165, allocations: 11.89 kB / 463.3 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.3167, allocations: 63.98 kB / 463.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.3168, allocations: 82.92 kB / 463.4 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002922/0.3197, allocations: 1.674 MB / 465.1 MB, free: 5.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.3303, allocations: 6.918 MB / 472 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008881/0.3312, allocations: 457.5 kB / 472.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/0.3317, allocations: 264.8 kB / 472.7 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/0.3319, allocations: 52.27 kB / 472.8 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.3319, allocations: 39 kB / 472.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.525e-06/0.3319, allocations: 0 / 472.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.007309/0.3392, allocations: 2.911 MB / 475.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.3393, allocations: 60.06 kB / 475.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/0.3422, allocations: 1.628 MB / 477.4 MB, free: 9.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.276e-05/0.3423, allocations: 37.7 kB / 477.4 MB, free: 9.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009744/0.3433, allocations: 1.068 MB / 478.5 MB, free: 8.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.3435, allocations: 246 kB / 478.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004927/0.344, allocations: 327.3 kB / 479.1 MB, free: 7.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3442, allocations: 301.1 kB / 479.4 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.3452, allocations: 0.5231 MB / 479.9 MB, free: 6.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.3471, allocations: 1.462 MB / 481.3 MB, free: 4.801 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.3502, allocations: 2.132 MB / 483.5 MB, free: 2.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.049e-05/0.3502, allocations: 12 kB / 483.5 MB, free: 2.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004304/0.3545, allocations: 2.164 MB / 485.6 MB, free: 16 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.723e-05/0.3546, allocations: 22.95 kB / 485.7 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.68e-05/0.3546, allocations: 36 kB / 485.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/0.3552, allocations: 222.3 kB / 485.9 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.3564, allocations: 399.2 kB / 486.3 MB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.3585, allocations: 1.748 MB / 488.1 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.36, allocations: 143.7 kB / 488.2 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.3602, allocations: 96 kB / 488.3 MB, free: 13.25 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.001091/0.3613, allocations: 0.5828 MB / 488.9 MB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004204/0.3617, allocations: 163 kB / 489 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.3641, allocations: 1.093 MB / 490.1 MB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.3641, allocations: 15.98 kB / 490.1 MB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3641, allocations: 0 / 490.1 MB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.3641, allocations: 0 / 490.1 MB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006034/0.3701, allocations: 2.726 MB / 492.9 MB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.3701, allocations: 0 / 492.9 MB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/0.3708, allocations: 119.8 kB / 493 MB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004872/0.3713, allocations: 166.5 kB / 493.1 MB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/0.3713, allocations: 19.98 kB / 493.2 MB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.3732, allocations: 1.69 MB / 494.9 MB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.3732, allocations: 3.938 kB / 494.9 MB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00302/0.3762, allocations: 1.643 MB / 496.5 MB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008548/0.377, allocations: 226.9 kB / 496.7 MB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003914/0.3774, allocations: 15.98 kB / 496.7 MB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008746/0.3783, allocations: 51.94 kB / 496.8 MB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.3785, allocations: 60.34 kB / 496.9 MB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/0.3785, allocations: 16 kB / 496.9 MB, free: 4.375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002189/0.3807, allocations: 1.079 MB / 497.9 MB, free: 3.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3807, allocations: 0 / 497.9 MB, free: 3.301 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001749/0.3825, allocations: 367.9 kB / 498.3 MB, free: 2.941 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.0003768/0.3828, allocations: 159.1 kB / 498.5 MB, free: 2.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002992/0.3858, allocations: 1.421 MB / 499.9 MB, free: 1.348 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3858, allocations: 0 / 499.9 MB, free: 1.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.387, allocations: 0.5775 MB / 0.4887 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.3892, allocations: 412.8 kB / 0.4891 GB, free: 372 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006464/0.3957, allocations: 3.066 MB / 0.4921 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/0.3973, allocations: 1.457 MB / 0.4935 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/0.3978, allocations: 115.4 kB / 0.4937 GB, free: 11.64 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3978, allocations: 0 / 0.4937 GB, free: 11.64 MB / 414.1 MB Notification: Performance of Templates: time 0.2812/0.679, allocations: 47.63 MB / 0.5402 GB, free: 103.7 MB / 446.1 MB " [Timeout remaining time 659] 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/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_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: 10.872471234062687]