Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 184.4 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 43.92 kB / 370.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2525, allocations: 52.19 MB / 423.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01192/0.2644, allocations: 9.091 MB / 432.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007092/0.2715, allocations: 3.162 MB / 435.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.273, allocations: 55.62 kB / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.2752, allocations: 0.7225 MB / 436.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.2779, allocations: 0.7535 MB / 436.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.2791, allocations: 335.3 kB / 437.2 MB, free: 492 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003285/0.2823, allocations: 2.105 MB / 439.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.284, allocations: 0.8285 MB / 440.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.2857, allocations: 0.9382 MB / 441.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/0.2878, allocations: 1.152 MB / 442.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005794/0.2884, allocations: 228 kB / 442.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009795/0.2894, allocations: 335.8 kB / 442.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.2905, allocations: 0.6855 MB / 443.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001565/0.2921, allocations: 1.081 MB / 444.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003779/0.2958, allocations: 3.123 MB / 447.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2959, allocations: 0 / 447.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2959, allocations: 0 / 447.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.975e-05/0.2959, allocations: 0 / 447.7 MB, free: 5.934 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004679/0.3006, allocations: 2.239 MB / 449.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3006, allocations: 12.02 kB / 450 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006336/0.3013, allocations: 235.6 kB / 450.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.3034, allocations: 1.156 MB / 451.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.3036, allocations: 115.5 kB / 451.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/0.3038, allocations: 155.9 kB / 451.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/0.3073, allocations: 2 MB / 453.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-05/0.3073, allocations: 19.88 kB / 453.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.3075, allocations: 63.91 kB / 453.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.585e-05/0.3076, allocations: 78.91 kB / 453.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002852/0.3104, allocations: 1.647 MB / 455.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.3212, allocations: 6.777 MB / 462.2 MB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000793/0.3219, allocations: 425.6 kB / 462.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.3223, allocations: 246 kB / 462.8 MB, free: 6.309 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.3225, allocations: 40.39 kB / 462.9 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.3225, allocations: 39 kB / 462.9 MB, free: 6.223 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.134e-06/0.3225, allocations: 0 / 462.9 MB, free: 6.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007135/0.3297, allocations: 3.172 MB / 466.1 MB, free: 3.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002556/0.3322, allocations: 2.227 MB / 468.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/0.3346, allocations: 1.623 MB / 469.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.3347, allocations: 37.7 kB / 470 MB, free: 14.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008596/0.3355, allocations: 1.045 MB / 471 MB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.3358, allocations: 246 kB / 471.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004542/0.3362, allocations: 327.3 kB / 471.6 MB, free: 13.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3363, allocations: 301.1 kB / 471.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008126/0.3371, allocations: 0.5192 MB / 472.4 MB, free: 12.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.3387, allocations: 1.468 MB / 473.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002716/0.3415, allocations: 2.137 MB / 476 MB, free: 7.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/0.3415, allocations: 12 kB / 476 MB, free: 7.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003623/0.3451, allocations: 2.158 MB / 478.2 MB, free: 5.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.3451, allocations: 20 kB / 478.2 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.604e-05/0.3452, allocations: 39.92 kB / 478.2 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005652/0.3457, allocations: 227 kB / 478.5 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.3469, allocations: 391.3 kB / 478.8 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.3487, allocations: 1.753 MB / 480.6 MB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.35, allocations: 135.6 kB / 480.7 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.3501, allocations: 99.98 kB / 480.8 MB, free: 3.023 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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.0009036/0.351, allocations: 0.5867 MB / 481.4 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.3513, allocations: 159 kB / 481.6 MB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.3532, allocations: 1.116 MB / 482.7 MB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3533, allocations: 4 kB / 482.7 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3533, allocations: 7.938 kB / 482.7 MB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3533, allocations: 3.984 kB / 482.7 MB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005745/0.359, allocations: 3.293 MB / 486 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.359, allocations: 12.59 kB / 486 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.3595, allocations: 115.8 kB / 486.1 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006414/0.3601, allocations: 226.4 kB / 486.3 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/0.3601, allocations: 16 kB / 486.3 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004582/0.3647, allocations: 3.847 MB / 490.2 MB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002278/0.367, allocations: 2.078 MB / 492.3 MB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002722/0.3697, allocations: 1.746 MB / 494 MB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006287/0.3704, allocations: 238.9 kB / 494.3 MB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.3705, allocations: 23.92 kB / 494.3 MB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007164/0.3712, allocations: 48.02 kB / 494.3 MB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.3714, allocations: 67.77 kB / 494.4 MB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.3714, allocations: 24 kB / 494.4 MB, free: 4.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001655/0.3731, allocations: 1.07 MB / 495.5 MB, free: 3.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3731, allocations: 0 / 495.5 MB, free: 3.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001562/0.3746, allocations: 384 kB / 495.9 MB, free: 3.344 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003219/0.375, allocations: 174.9 kB / 496 MB, free: 3.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002442/0.3774, allocations: 1.409 MB / 497.4 MB, free: 1.742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3774, allocations: 0 / 497.4 MB, free: 1.742 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.3787, allocations: 0.7608 MB / 498.2 MB, free: 0.9531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.3805, allocations: 404.4 kB / 498.6 MB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004775/0.3853, allocations: 3.23 MB / 0.4901 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.3865, allocations: 1.469 MB / 0.4915 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000886/0.3874, allocations: 354 kB / 0.4918 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.3877, allocations: 111.4 kB / 0.4919 GB, free: 11.26 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3877, allocations: 0 / 0.4919 GB, free: 11.26 MB / 414.1 MB Notification: Performance of Templates: time 0.04117/0.4289, allocations: 22.11 MB / 0.5135 GB, free: 5.359 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.244604258798063]