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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0074/0.0074, allocations: 103.3 kB / 21.93 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 206.7 kB / 25.22 MB, free: 3.141 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.404/1.404, allocations: 207.7 MB / 236.1 MB, free: 9.797 MB / 190.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 54.58 kB / 348.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2497, allocations: 49.16 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01024/0.26, allocations: 9.589 MB / 407.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007067/0.267, allocations: 3.484 MB / 410.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.2689, allocations: 75.31 kB / 410.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.271, allocations: 0.8034 MB / 411.6 MB, free: 176 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.2741, allocations: 0.913 MB / 412.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.2752, allocations: 480 kB / 413 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003865/0.2791, allocations: 2.949 MB / 415.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.2813, allocations: 1.468 MB / 417.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.2835, allocations: 1.404 MB / 418.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.2863, allocations: 1.689 MB / 420.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000663/0.2869, allocations: 374 kB / 420.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.2881, allocations: 466.8 kB / 421.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.2893, allocations: 1.101 MB / 422.4 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001971/0.2912, allocations: 1.337 MB / 423.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006047/0.2973, allocations: 4.932 MB / 428.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.2973, allocations: 4 kB / 428.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2973, allocations: 0 / 428.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001217/0.2974, allocations: 0 / 428.7 MB, free: 4.031 MB / 334.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.007792/0.3052, allocations: 3.39 MB / 432 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3053, allocations: 8.031 kB / 432.1 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008763/0.3061, allocations: 354.8 kB / 432.4 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0036/0.3097, allocations: 1.639 MB / 434 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.3099, allocations: 189.4 kB / 434.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004304/0.3103, allocations: 255.9 kB / 434.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005888/0.3162, allocations: 3.355 MB / 437.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.589e-05/0.3163, allocations: 4 kB / 437.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/0.3165, allocations: 104 kB / 437.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002042/0.3167, allocations: 120.9 kB / 438.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005053/0.3218, allocations: 2.744 MB / 440.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01635/0.3381, allocations: 9.063 MB / 449.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.34, allocations: 1.059 MB / 450.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.3413, allocations: 0.6965 MB / 451.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.3415, allocations: 48.97 kB / 451.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.3416, allocations: 51.55 kB / 451.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 3.096e-06/0.3416, allocations: 0 / 451.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.01611/0.3577, allocations: 6.765 MB / 458.5 MB, free: 5.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.3577, allocations: 64.41 kB / 458.5 MB, free: 5.516 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/0.3604, allocations: 1.633 MB / 460.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.3605, allocations: 49.7 kB / 460.2 MB, free: 3.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.3616, allocations: 1.325 MB / 461.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004684/0.3621, allocations: 456.1 kB / 462 MB, free: 2.035 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004916/0.3626, allocations: 299.4 kB / 462.3 MB, free: 1.734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3627, allocations: 305.1 kB / 462.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.364, allocations: 0.7769 MB / 463.4 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.3658, allocations: 1.301 MB / 464.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/0.369, allocations: 2.207 MB / 466.9 MB, free: 12.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.3691, allocations: 8 kB / 466.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004518/0.3736, allocations: 2.464 MB / 469.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.3736, allocations: 12 kB / 469.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.981e-05/0.3736, allocations: 20 kB / 469.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006414/0.3743, allocations: 231.3 kB / 469.6 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.3758, allocations: 423.6 kB / 470 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.3789, allocations: 2.977 MB / 473 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.3805, allocations: 135.8 kB / 473.1 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.3807, allocations: 68 kB / 473.2 MB, free: 6.125 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.001545/0.3822, allocations: 0.8212 MB / 474 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004401/0.3827, allocations: 182.8 kB / 474.2 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003696/0.3864, allocations: 2.022 MB / 476.2 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.3864, allocations: 15.98 kB / 476.2 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3864, allocations: 0 / 476.2 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.3864, allocations: 15.92 kB / 476.2 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00847/0.3949, allocations: 4.095 MB / 480.3 MB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.3949, allocations: 3.938 kB / 480.3 MB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.396, allocations: 267.5 kB / 480.6 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005686/0.3965, allocations: 207.5 kB / 480.8 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.585e-05/0.3966, allocations: 27.98 kB / 480.8 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002963/0.3996, allocations: 2.954 MB / 483.8 MB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3996, allocations: 4 kB / 483.8 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005108/0.4047, allocations: 3.116 MB / 486.9 MB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.4059, allocations: 346.8 kB / 487.2 MB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.4061, allocations: 24 kB / 487.3 MB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009172/0.407, allocations: 91.86 kB / 487.4 MB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.4072, allocations: 92.72 kB / 487.4 MB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-05/0.4073, allocations: 32 kB / 487.5 MB, free: 7.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001783/0.4091, allocations: 1.095 MB / 488.6 MB, free: 6.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4091, allocations: 0 / 488.6 MB, free: 6.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001627/0.4107, allocations: 487.9 kB / 489 MB, free: 5.871 MB / 398.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.000424/0.4111, allocations: 182.9 kB / 489.2 MB, free: 5.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004024/0.4151, allocations: 2.117 MB / 491.3 MB, free: 3.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.4151, allocations: 0 / 491.3 MB, free: 3.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002058/0.4172, allocations: 1.118 MB / 492.5 MB, free: 2.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.4195, allocations: 448.9 kB / 492.9 MB, free: 1.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00917/0.4287, allocations: 5.002 MB / 497.9 MB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001775/0.4305, allocations: 1.41 MB / 499.3 MB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006902/0.4312, allocations: 143.4 kB / 499.5 MB, free: 11.29 MB / 414.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4312, allocations: 0 / 499.5 MB, free: 11.29 MB / 414.1 MB Notification: Performance of Templates: time 0.2558/0.687, allocations: 83.02 MB / 0.5688 GB, free: 152.1 MB / 478.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/jenkins1/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/jenkins1/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: 12.830906907096505]