Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.001801/0.001801, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002112/0.002112, allocations: 160.4 kB / 24.49 MB, free: 3.453 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.413/1.413, allocations: 177.1 MB / 204.7 MB, free: 9 MB / 190.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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 61.86 kB / 325.5 MB, free: 212 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1106, allocations: 53.4 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource): time 0.01335/0.124, allocations: 9.648 MB / 388.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007019/0.131, allocations: 3.478 MB / 392.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.132, allocations: 83.44 kB / 392.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.1338, allocations: 0.8227 MB / 393 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.1359, allocations: 0.9165 MB / 393.9 MB, free: 480 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008579/0.1368, allocations: 459.4 kB / 394.3 MB, free: 20 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003324/0.1401, allocations: 2.938 MB / 397.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.1422, allocations: 1.505 MB / 398.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.1443, allocations: 1.429 MB / 400.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002874/0.1472, allocations: 1.689 MB / 401.9 MB, free: 8.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005596/0.1477, allocations: 376 kB / 402.3 MB, free: 8.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009381/0.1487, allocations: 479.8 kB / 402.7 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.1498, allocations: 1.091 MB / 403.8 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.1514, allocations: 1.342 MB / 405.2 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005076/0.1565, allocations: 4.939 MB / 410.1 MB, free: 140 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1565, allocations: 0 / 410.1 MB, free: 140 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1565, allocations: 4 kB / 410.1 MB, free: 136 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.206e-05/0.1565, allocations: 0 / 410.1 MB, free: 136 kB / 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.00658/0.1631, allocations: 3.405 MB / 413.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1632, allocations: 12.03 kB / 413.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008901/0.164, allocations: 362.8 kB / 413.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/0.1672, allocations: 1.756 MB / 415.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.1673, allocations: 193.4 kB / 415.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003592/0.1677, allocations: 251.9 kB / 416.1 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005219/0.1729, allocations: 3.362 MB / 419.4 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-05/0.1729, allocations: 7.953 kB / 419.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/0.1732, allocations: 108 kB / 419.5 MB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.1733, allocations: 120.9 kB / 419.7 MB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004735/0.178, allocations: 2.748 MB / 422.4 MB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01499/0.193, allocations: 9.028 MB / 431.4 MB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.1949, allocations: 1.056 MB / 432.5 MB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.1962, allocations: 0.7148 MB / 433.2 MB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.1964, allocations: 48.97 kB / 433.3 MB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.022e-05/0.1965, allocations: 51.55 kB / 433.3 MB, free: 8.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 3.216e-06/0.1965, allocations: 0 / 433.3 MB, free: 8.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01508/0.2116, allocations: 6.629 MB / 439.9 MB, free: 1.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.2116, allocations: 64.41 kB / 440 MB, free: 1.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/0.214, allocations: 1.637 MB / 441.6 MB, free: 15.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.591e-05/0.2141, allocations: 49.7 kB / 441.7 MB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.2152, allocations: 1.321 MB / 443 MB, free: 14.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004012/0.2156, allocations: 456.2 kB / 443.4 MB, free: 14.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004844/0.2161, allocations: 295.4 kB / 443.7 MB, free: 13.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2162, allocations: 305.1 kB / 444 MB, free: 13.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.2175, allocations: 0.7847 MB / 444.8 MB, free: 12.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.2191, allocations: 1.292 MB / 446.1 MB, free: 11.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003018/0.2221, allocations: 2.214 MB / 448.3 MB, free: 8.789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/0.2221, allocations: 4 kB / 448.3 MB, free: 8.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004249/0.2264, allocations: 2.464 MB / 450.8 MB, free: 6.301 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.2264, allocations: 12 kB / 450.8 MB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.2264, allocations: 16 kB / 450.8 MB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006366/0.2271, allocations: 247.2 kB / 451.1 MB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.2286, allocations: 419.6 kB / 451.5 MB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/0.2315, allocations: 2.981 MB / 454.5 MB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.2331, allocations: 127.8 kB / 454.6 MB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.2332, allocations: 71.98 kB / 454.6 MB, free: 2.227 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.001518/0.2347, allocations: 0.8233 MB / 455.5 MB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004597/0.2352, allocations: 194.8 kB / 455.7 MB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003633/0.2388, allocations: 2.014 MB / 457.7 MB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.2388, allocations: 12 kB / 457.7 MB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.2388, allocations: 4 kB / 457.7 MB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.2388, allocations: 7.969 kB / 457.7 MB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008131/0.247, allocations: 4.114 MB / 461.8 MB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.247, allocations: 4 kB / 461.8 MB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.2481, allocations: 259.6 kB / 462.1 MB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005643/0.2487, allocations: 207.5 kB / 462.3 MB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.956e-05/0.2488, allocations: 27.98 kB / 462.3 MB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.2516, allocations: 2.955 MB / 465.3 MB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2516, allocations: 0 / 465.3 MB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005041/0.2566, allocations: 3.132 MB / 468.4 MB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.2577, allocations: 334.7 kB / 468.7 MB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/0.258, allocations: 24.12 kB / 468.7 MB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009412/0.2589, allocations: 95.86 kB / 468.8 MB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.2591, allocations: 88.78 kB / 468.9 MB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.333e-05/0.2592, allocations: 35.98 kB / 469 MB, free: 3.527 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001823/0.261, allocations: 1.099 MB / 470.1 MB, free: 2.434 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.261, allocations: 0 / 470.1 MB, free: 2.434 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001755/0.2628, allocations: 487.9 kB / 470.5 MB, free: 1.957 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.0004121/0.2632, allocations: 195 kB / 470.7 MB, free: 1.758 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.2304/0.4936, allocations: 2.116 MB / 472.8 MB, free: 84.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/0.4936, allocations: 1.031 kB / 472.8 MB, free: 84.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002521/0.4961, allocations: 1.126 MB / 474 MB, free: 84.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.4986, allocations: 451.1 kB / 474.4 MB, free: 84.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0093/0.5079, allocations: 4.941 MB / 479.3 MB, free: 82.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002138/0.5101, allocations: 1.436 MB / 480.8 MB, free: 82.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001852/0.5119, allocations: 490.6 kB / 481.3 MB, free: 82.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/0.5124, allocations: 134.4 kB / 481.4 MB, free: 82.21 MB / 430.1 MB Notification: Performance of SimCode: time 1.273e-06/0.5124, allocations: 0 / 481.4 MB, free: 82.21 MB / 430.1 MB Notification: Performance of Templates: time 0.04237/0.5547, allocations: 25.03 MB / 0.4945 GB, free: 64.37 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_CurrentSource/SMPM_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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 [Calling sys.exit(0), Time elapsed: 5.736648033023812]