Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 200.7 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] 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_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 56.05 kB / 369.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.328, allocations: 52.14 MB / 421.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource): time 0.01475/0.3428, allocations: 10.97 MB / 432.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0087/0.3515, allocations: 3.625 MB / 435.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/0.3543, allocations: 67.69 kB / 436 MB, free: 448 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00316/0.3574, allocations: 0.885 MB / 436.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003986/0.3614, allocations: 0.8971 MB / 437.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.3631, allocations: 475.1 kB / 438.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005014/0.3681, allocations: 2.942 MB / 441.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003119/0.3712, allocations: 1.978 MB / 443.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.3737, allocations: 1.378 MB / 444.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003493/0.3772, allocations: 1.794 MB / 446.3 MB, free: 6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009623/0.3782, allocations: 372 kB / 446.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.3796, allocations: 483.8 kB / 447.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001317/0.3809, allocations: 1.091 MB / 448.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002733/0.3837, allocations: 1.664 MB / 449.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007274/0.3909, allocations: 4.896 MB / 454.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.3909, allocations: 3.938 kB / 454.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3909, allocations: 4 kB / 454.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001533/0.3911, allocations: 0 / 454.8 MB, free: 13.48 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: 659 * Number of variables: 659 Notification: Performance of Generate backend data structure: time 0.008958/0.4001, allocations: 3.469 MB / 458.3 MB, free: 9.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4001, allocations: 12.03 kB / 458.3 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.4011, allocations: 346.9 kB / 458.6 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004324/0.4054, allocations: 1.851 MB / 460.5 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.4056, allocations: 185.4 kB / 460.6 MB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006245/0.4062, allocations: 255.9 kB / 460.9 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006991/0.4132, allocations: 3.283 MB / 464.2 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.431e-05/0.4133, allocations: 4 kB / 464.2 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003868/0.4137, allocations: 100 kB / 464.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001959/0.4139, allocations: 120.9 kB / 464.4 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005772/0.4197, allocations: 2.748 MB / 467.1 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02149/0.4412, allocations: 10.41 MB / 477.6 MB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.4435, allocations: 1.304 MB / 478.9 MB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.4449, allocations: 0.6993 MB / 479.6 MB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003544/0.4453, allocations: 208.2 kB / 479.8 MB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.4453, allocations: 43.56 kB / 479.8 MB, free: 3.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 2.915e-06/0.4453, allocations: 4 kB / 479.8 MB, free: 3.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=123): time 0.01676/0.4621, allocations: 6.945 MB / 486.8 MB, free: 12.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.4622, allocations: 72.41 kB / 486.8 MB, free: 12.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003845/0.466, allocations: 1.789 MB / 488.6 MB, free: 10.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.4662, allocations: 45.7 kB / 488.7 MB, free: 10.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001292/0.4675, allocations: 1.306 MB / 490 MB, free: 9.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005722/0.4681, allocations: 448.2 kB / 490.4 MB, free: 9.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000667/0.4687, allocations: 299.4 kB / 490.7 MB, free: 8.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4689, allocations: 305.1 kB / 491 MB, free: 8.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.4703, allocations: 0.773 MB / 491.8 MB, free: 7.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.4721, allocations: 1.292 MB / 493.1 MB, free: 6.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003366/0.4755, allocations: 2.21 MB / 495.3 MB, free: 3.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-05/0.4755, allocations: 4 kB / 495.3 MB, free: 3.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004684/0.4802, allocations: 2.483 MB / 497.8 MB, free: 1.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.4802, allocations: 18.97 kB / 497.8 MB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/0.4803, allocations: 16 kB / 497.8 MB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007092/0.481, allocations: 247.6 kB / 498 MB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.4825, allocations: 419.3 kB / 498.4 MB, free: 492 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.4857, allocations: 3.234 MB / 0.4899 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.4874, allocations: 123.8 kB / 0.49 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.4875, allocations: 80.05 kB / 0.4901 GB, free: 12.76 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001636/0.4892, allocations: 0.8208 MB / 0.4909 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000589/0.4898, allocations: 194.7 kB / 0.4911 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003941/0.4937, allocations: 2.035 MB / 0.4931 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.4937, allocations: 12 kB / 0.4931 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.4937, allocations: 4 kB / 0.4931 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.4937, allocations: 7.969 kB / 0.4931 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.504, allocations: 4.741 MB / 0.4977 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.504, allocations: 0 / 0.4977 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.5052, allocations: 267.6 kB / 0.498 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000584/0.5058, allocations: 207.2 kB / 0.4982 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.5059, allocations: 24.12 kB / 0.4982 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003014/0.5089, allocations: 3.215 MB / 0.5014 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.5089, allocations: 3.938 kB / 0.5014 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00506/0.5139, allocations: 3.14 MB / 0.5044 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.515, allocations: 435.9 kB / 0.5048 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.5152, allocations: 27.98 kB / 0.5049 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00091/0.5161, allocations: 95.81 kB / 0.505 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.5163, allocations: 80.89 kB / 0.505 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.5164, allocations: 40.05 kB / 0.5051 GB, free: 12.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001988/0.5184, allocations: 1.216 MB / 0.5063 GB, free: 11.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5184, allocations: 0 / 0.5063 GB, free: 11.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001663/0.52, allocations: 491.9 kB / 0.5067 GB, free: 11.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.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 (121): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,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.0004143/0.5205, allocations: 202.7 kB / 0.5069 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003774/0.5242, allocations: 2.267 MB / 0.5091 GB, free: 8.707 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5242, allocations: 0 / 0.5091 GB, free: 8.707 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00191/0.5261, allocations: 1.274 MB / 0.5104 GB, free: 7.363 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.5285, allocations: 498 kB / 0.5109 GB, free: 6.883 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009197/0.5377, allocations: 5.027 MB / 0.5158 GB, free: 1.785 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001899/0.5396, allocations: 1.974 MB / 0.5177 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007127/0.5403, allocations: 155.4 kB / 0.5178 GB, free: 15.63 MB / 446.1 MB Notification: Performance of SimCode: time 1.273e-06/0.5403, allocations: 0 / 0.5178 GB, free: 15.63 MB / 446.1 MB Notification: Performance of Templates: time 0.3185/0.8588, allocations: 83.11 MB / 0.599 GB, free: 49.45 MB / 446.1 MB [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_CurrentSource/SMPM_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches