Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.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.001845/0.001845, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 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.002409/0.002409, allocations: 218.3 kB / 23 MB, free: 5.574 MB / 14.72 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 1.454/1.454, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] 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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 59.89 kB / 376.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.292, allocations: 53.32 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.01923/0.3113, allocations: 15.93 MB / 445.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.3231, allocations: 5.359 MB / 451.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003564/0.3266, allocations: 107.6 kB / 451.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003705/0.3303, allocations: 1.145 MB / 452.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0054/0.3357, allocations: 1.285 MB / 453.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003285/0.339, allocations: 0.9381 MB / 454.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006918/0.3459, allocations: 3.643 MB / 458.2 MB, free: 11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003524/0.3495, allocations: 1.916 MB / 460.1 MB, free: 9.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.3528, allocations: 1.745 MB / 461.9 MB, free: 7.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003848/0.3567, allocations: 2.152 MB / 464 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.3577, allocations: 480 kB / 464.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.3596, allocations: 0.7028 MB / 465.2 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.3608, allocations: 1.161 MB / 466.4 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003446/0.3643, allocations: 2.05 MB / 468.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009497/0.3738, allocations: 6.314 MB / 474.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3738, allocations: 0 / 474.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3738, allocations: 0 / 474.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001505/0.3739, allocations: 0 / 474.7 MB, free: 10.37 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01302/0.387, allocations: 4.37 MB / 479.1 MB, free: 5.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.387, allocations: 12.03 kB / 479.1 MB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003284/0.3903, allocations: 0.6349 MB / 479.8 MB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005171/0.3955, allocations: 2.302 MB / 482.1 MB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.3957, allocations: 238.7 kB / 482.3 MB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006241/0.3963, allocations: 320.1 kB / 482.6 MB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008193/0.4045, allocations: 4.047 MB / 486.6 MB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.359e-05/0.4046, allocations: 11.94 kB / 486.7 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003111/0.4049, allocations: 128 kB / 486.8 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001716/0.4051, allocations: 150.2 kB / 486.9 MB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007514/0.4126, allocations: 3.39 MB / 490.3 MB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02326/0.4359, allocations: 13.4 MB / 0.4919 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004973/0.4408, allocations: 4.162 MB / 0.496 GB, free: 7.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.4425, allocations: 0.9376 MB / 0.4969 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00516/0.4477, allocations: 2.859 MB / 0.4997 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.4477, allocations: 47.5 kB / 0.4997 GB, free: 4.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=108): time 2.905e-06/0.4477, allocations: 0 / 0.4997 GB, free: 4.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=142): time 0.01226/0.46, allocations: 6.044 MB / 0.5056 GB, free: 13.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.4601, allocations: 64.72 kB / 0.5057 GB, free: 13.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002861/0.4629, allocations: 1.913 MB / 0.5076 GB, free: 11.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.231e-05/0.463, allocations: 49.7 kB / 0.5076 GB, free: 11.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.4642, allocations: 1.552 MB / 0.5091 GB, free: 10.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004212/0.4646, allocations: 0.4997 MB / 0.5096 GB, free: 9.719 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005316/0.4652, allocations: 339.4 kB / 0.5099 GB, free: 9.379 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4653, allocations: 309.1 kB / 0.5102 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.4666, allocations: 0.7691 MB / 0.511 GB, free: 8.305 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.4683, allocations: 1.371 MB / 0.5123 GB, free: 6.668 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003268/0.4716, allocations: 2.324 MB / 0.5146 GB, free: 4.078 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.4716, allocations: 7.938 kB / 0.5146 GB, free: 4.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.0044/0.476, allocations: 2.486 MB / 0.517 GB, free: 1.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.4761, allocations: 16 kB / 0.517 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/0.4761, allocations: 20 kB / 0.5171 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003735/0.4765, allocations: 118.5 kB / 0.5172 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.4783, allocations: 487.5 kB / 0.5176 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.4796, allocations: 1.402 MB / 0.519 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.4812, allocations: 119.8 kB / 0.5191 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.4814, allocations: 83.98 kB / 0.5192 GB, free: 15.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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 (232): * Single equations (assignments): 229 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001824/0.4832, allocations: 0.9923 MB / 0.5202 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003803/0.4836, allocations: 210.6 kB / 0.5204 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/0.4871, allocations: 1.966 MB / 0.5223 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.4871, allocations: 16 kB / 0.5223 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4871, allocations: 0 / 0.5223 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.4872, allocations: 7.969 kB / 0.5223 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008394/0.4955, allocations: 5.011 MB / 0.5272 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4955, allocations: 0 / 0.5272 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/0.4969, allocations: 311.5 kB / 0.5275 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003069/0.4972, allocations: 94.78 kB / 0.5276 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.155e-05/0.4973, allocations: 35.92 kB / 0.5276 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.4984, allocations: 1.382 MB / 0.529 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4984, allocations: 0 / 0.529 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004891/0.5033, allocations: 3.099 MB / 0.532 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009724/0.5043, allocations: 467.6 kB / 0.5325 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/0.5045, allocations: 28 kB / 0.5325 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009584/0.5055, allocations: 75.91 kB / 0.5326 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.5057, allocations: 89.12 kB / 0.5326 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.375e-05/0.5058, allocations: 39.98 kB / 0.5327 GB, free: 1.027 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.2069/0.7127, allocations: 1.299 MB / 0.5339 GB, free: 100.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7127, allocations: 0.5 kB / 0.5339 GB, free: 100.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002787/0.7154, allocations: 0.5335 MB / 0.5345 GB, free: 100.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (141): * Single equations (assignments): 138 * 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 {(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.0003577/0.7158, allocations: 169.3 kB / 0.5346 GB, free: 100.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003086/0.7189, allocations: 2.13 MB / 0.5367 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.7189, allocations: 8.5 kB / 0.5367 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.7201, allocations: 1.097 MB / 0.5378 GB, free: 99.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.7223, allocations: 0.5216 MB / 0.5383 GB, free: 99.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007903/0.7302, allocations: 5.711 MB / 0.5439 GB, free: 96.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.7316, allocations: 2.267 MB / 0.5461 GB, free: 95.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001494/0.7331, allocations: 0.5169 MB / 0.5466 GB, free: 95.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004037/0.7335, allocations: 154.3 kB / 0.5467 GB, free: 95.46 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.7335, allocations: 0 / 0.5467 GB, free: 95.46 MB / 446.1 MB Notification: Performance of Templates: time 0.03682/0.7703, allocations: 27.77 MB / 0.5739 GB, free: 72.01 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_CurrentSource/SMPM_CurrentSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.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.713614898733795]