Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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.002206/0.002206, allocations: 111.3 kB / 18.39 MB, free: 4.676 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.001814/0.001815, allocations: 198.8 kB / 21.35 MB, free: 1.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.1 MB / 229.2 MB, free: 4.391 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 55.81 kB / 335.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1269, allocations: 46.62 MB / 381.9 MB, free: 460 kB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01591/0.1429, allocations: 10.9 MB / 392.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009897/0.1528, allocations: 3.661 MB / 396.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002832/0.1557, allocations: 59.69 kB / 396.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002776/0.1585, allocations: 0.8267 MB / 397.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.1619, allocations: 0.8619 MB / 398.2 MB, free: 68 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1632, allocations: 459.4 kB / 398.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003911/0.1671, allocations: 2.962 MB / 401.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003574/0.1707, allocations: 2.675 MB / 404.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.1733, allocations: 1.374 MB / 405.6 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002562/0.1758, allocations: 1.744 MB / 407.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005327/0.1764, allocations: 376 kB / 407.7 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009457/0.1773, allocations: 471.8 kB / 408.2 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001247/0.1786, allocations: 1.075 MB / 409.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002139/0.1807, allocations: 1.672 MB / 410.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005923/0.1867, allocations: 4.9 MB / 415.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1867, allocations: 0 / 415.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.019e-06/0.1867, allocations: 0 / 415.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001419/0.1869, allocations: 3.938 kB / 415.8 MB, free: 14.27 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: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.00805/0.1949, allocations: 3.461 MB / 419.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.195, allocations: 8.031 kB / 419.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009283/0.1959, allocations: 354.8 kB / 419.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/0.1994, allocations: 1.726 MB / 421.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.1996, allocations: 189.3 kB / 421.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004785/0.2001, allocations: 251.9 kB / 421.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007042/0.2071, allocations: 3.279 MB / 425.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-05/0.2073, allocations: 11.95 kB / 425.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002905/0.2076, allocations: 96 kB / 425.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/0.2078, allocations: 128.9 kB / 425.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005559/0.2133, allocations: 2.748 MB / 428.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01857/0.2319, allocations: 10.43 MB / 438.5 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/0.2341, allocations: 1.35 MB / 439.8 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.2354, allocations: 0.7462 MB / 440.6 MB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003461/0.2358, allocations: 208.2 kB / 440.8 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.2358, allocations: 43.56 kB / 440.8 MB, free: 4.562 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 3.647e-06/0.2358, allocations: 0 / 440.8 MB, free: 4.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.0172/0.253, allocations: 7.074 MB / 447.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.2531, allocations: 68.34 kB / 448 MB, free: 13.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003161/0.2563, allocations: 1.793 MB / 449.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-05/0.2564, allocations: 53.7 kB / 449.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.2576, allocations: 1.306 MB / 451.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004298/0.2581, allocations: 448.3 kB / 451.6 MB, free: 9.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000513/0.2586, allocations: 295.4 kB / 451.9 MB, free: 9.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.2588, allocations: 305.1 kB / 452.2 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.2601, allocations: 0.7769 MB / 452.9 MB, free: 8.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.2619, allocations: 1.293 MB / 454.2 MB, free: 6.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003195/0.2651, allocations: 2.215 MB / 456.4 MB, free: 4.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.2651, allocations: 4 kB / 456.4 MB, free: 4.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004765/0.2699, allocations: 2.491 MB / 458.9 MB, free: 1.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.2699, allocations: 12 kB / 458.9 MB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/0.27, allocations: 19.94 kB / 459 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006815/0.2707, allocations: 239.6 kB / 459.2 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.2722, allocations: 419.3 kB / 459.6 MB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2395/0.5117, allocations: 3.238 MB / 462.8 MB, free: 65.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.5137, allocations: 127.2 kB / 463 MB, free: 65.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.514, allocations: 70.77 kB / 463 MB, free: 65.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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.001733/0.5157, allocations: 0.8226 MB / 463.9 MB, free: 65.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004683/0.5162, allocations: 194.4 kB / 464.1 MB, free: 65.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003683/0.5199, allocations: 2.041 MB / 466.1 MB, free: 65.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.5199, allocations: 12 kB / 466.1 MB, free: 65.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5199, allocations: 2.938 kB / 466.1 MB, free: 65.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.5199, allocations: 8.766 kB / 466.1 MB, free: 65.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008578/0.5285, allocations: 4.733 MB / 470.9 MB, free: 63.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.5286, allocations: 2.781 kB / 470.9 MB, free: 63.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.5297, allocations: 262.5 kB / 471.1 MB, free: 63.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005324/0.5302, allocations: 205.5 kB / 471.3 MB, free: 63.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.5303, allocations: 27.59 kB / 471.3 MB, free: 63.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.5325, allocations: 3.208 MB / 474.5 MB, free: 60.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.5326, allocations: 6.875 kB / 474.6 MB, free: 60.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00543/0.538, allocations: 3.134 MB / 477.7 MB, free: 59.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.5391, allocations: 435.9 kB / 478.1 MB, free: 59.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.5393, allocations: 22.88 kB / 478.1 MB, free: 59.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009235/0.5403, allocations: 97.78 kB / 478.2 MB, free: 59.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.5405, allocations: 80.44 kB / 478.3 MB, free: 59.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/0.5405, allocations: 36.41 kB / 478.3 MB, free: 59.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002076/0.5426, allocations: 1.218 MB / 479.6 MB, free: 58.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.114e-06/0.5426, allocations: 0 / 479.6 MB, free: 58.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002213/0.5448, allocations: 492.3 kB / 480 MB, free: 58.54 MB / 382.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 (120): * Single equations (assignments): 116 * 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.0004183/0.5453, allocations: 193.5 kB / 480.2 MB, free: 58.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003235/0.5485, allocations: 2.354 MB / 482.6 MB, free: 57.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5485, allocations: 1.75 kB / 482.6 MB, free: 57.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.5502, allocations: 1.328 MB / 483.9 MB, free: 56.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.5525, allocations: 0.4948 MB / 484.4 MB, free: 56.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007414/0.56, allocations: 4.937 MB / 489.3 MB, free: 53.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/0.5616, allocations: 2.01 MB / 491.4 MB, free: 51.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001515/0.5631, allocations: 0.5007 MB / 491.9 MB, free: 51.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.5635, allocations: 135.4 kB / 492 MB, free: 51.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.613e-06/0.5635, allocations: 0 / 492 MB, free: 51.2 MB / 382.1 MB Notification: Performance of Templates: time 0.04238/0.6059, allocations: 26.19 MB / 0.506 GB, free: 24.98 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_CurrentSource/SMPM_CurrentSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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: 6.415878870524466]