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.0008843/0.0008843, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 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.000899/0.000899, allocations: 168 kB / 25.7 MB, free: 8.445 MB / 18.57 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 0.7795/0.7795, allocations: 158.6 MB / 187.6 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.18e-05, allocations: 2.312 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01914/0.01916, allocations: 10.48 MB / 262 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00577/0.02492, allocations: 3.73 MB / 265.8 MB, free: 8.984 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006371/0.02556, allocations: 79.44 kB / 265.8 MB, free: 8.906 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.02726, allocations: 0.8304 MB / 266.7 MB, free: 8.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.02905, allocations: 0.9584 MB / 267.6 MB, free: 7.105 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.02969, allocations: 467.2 kB / 268.1 MB, free: 6.648 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.03205, allocations: 3.058 MB / 271.1 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.03377, allocations: 1.52 MB / 272.7 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.03623, allocations: 2.468 MB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.03775, allocations: 1.496 MB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004347/0.03819, allocations: 360 kB / 277 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005862/0.03877, allocations: 455.8 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007765/0.03955, allocations: 1.052 MB / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.04059, allocations: 1.107 MB / 279.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.04288, allocations: 2.605 MB / 282.2 MB, free: 8.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.04288, allocations: 0 / 282.2 MB, free: 8.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.04289, allocations: 0 / 282.2 MB, free: 8.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.04291, allocations: 4 kB / 282.2 MB, free: 8.426 MB / 266.7 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.00376/0.04667, allocations: 3.087 MB / 285.3 MB, free: 5.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.0467, allocations: 12.03 kB / 285.3 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007125/0.04741, allocations: 440.6 kB / 285.7 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.04904, allocations: 1.19 MB / 286.9 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.04916, allocations: 193.4 kB / 287.1 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000306/0.04947, allocations: 252.3 kB / 287.3 MB, free: 3.168 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/0.05213, allocations: 1.858 MB / 289.2 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.839e-05/0.05219, allocations: 15.92 kB / 289.2 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/0.05238, allocations: 100 kB / 289.3 MB, free: 1.098 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.05249, allocations: 120.9 kB / 289.4 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.0538, allocations: 0.7433 MB / 290.2 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0082/0.062, allocations: 6.914 MB / 297.1 MB, free: 8.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007899/0.06279, allocations: 0.514 MB / 297.6 MB, free: 8.406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/0.06324, allocations: 264.4 kB / 297.9 MB, free: 8.145 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.06343, allocations: 60.95 kB / 297.9 MB, free: 8.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.06346, allocations: 39.56 kB / 298 MB, free: 8.039 MB / 282.7 MB Notification: Performance of pre-optimization done (n=97): time 2.564e-06/0.06346, allocations: 0 / 298 MB, free: 8.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.006243/0.0697, allocations: 3.005 MB / 301 MB, free: 4.984 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.06974, allocations: 64.41 kB / 301 MB, free: 4.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.07096, allocations: 1.172 MB / 302.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-05/0.07103, allocations: 45.7 kB / 302.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005236/0.07155, allocations: 1.093 MB / 303.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/0.07181, allocations: 444.2 kB / 303.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003283/0.07214, allocations: 287.2 kB / 304 MB, free: 1.848 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.611e-05/0.07221, allocations: 301.1 kB / 304.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.07252, allocations: 186.8 kB / 304.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005407/0.07306, allocations: 0.6796 MB / 305.2 MB, free: 468 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.07423, allocations: 1.056 MB / 306.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.07424, allocations: 4 kB / 306.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001714/0.07595, allocations: 1.035 MB / 307.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.07597, allocations: 15.94 kB / 307.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.07599, allocations: 19.94 kB / 307.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003492/0.07634, allocations: 128.2 kB / 307.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.07743, allocations: 351.5 kB / 307.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.07919, allocations: 2.426 MB / 310.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000782/0.07997, allocations: 63.83 kB / 310.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.08008, allocations: 60 kB / 310.3 MB, free: 10.85 MB / 298.7 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 {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004786/0.08056, allocations: 216.2 kB / 310.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.08085, allocations: 147.7 kB / 310.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.08231, allocations: 0.7593 MB / 311.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.08232, allocations: 16 kB / 311.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.08233, allocations: 0 / 311.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.08234, allocations: 7.969 kB / 311.5 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/0.0862, allocations: 2.116 MB / 313.6 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.0862, allocations: 0 / 313.6 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007988/0.087, allocations: 207.7 kB / 313.8 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004091/0.08741, allocations: 156.7 kB / 314 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-05/0.08748, allocations: 24 kB / 314 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.08916, allocations: 2.395 MB / 316.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.08917, allocations: 8.156 kB / 316.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.091, allocations: 1.113 MB / 317.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/0.0915, allocations: 222.7 kB / 317.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.09169, allocations: 24 kB / 317.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.0923, allocations: 40.02 kB / 317.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.09245, allocations: 84.72 kB / 317.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-05/0.09253, allocations: 27.98 kB / 317.9 MB, free: 2.918 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007553/0.09328, allocations: 0.5722 MB / 318.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09328, allocations: 0 / 318.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001267/0.09455, allocations: 467.9 kB / 318.9 MB, free: 1.891 MB / 298.7 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 {(1,2,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.00033/0.09488, allocations: 176.1 kB / 319.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.09645, allocations: 0.9856 MB / 320.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.01e-05/0.09649, allocations: 21.81 kB / 320.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008271/0.09732, allocations: 0.59 MB / 320.7 MB, free: 48 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.09879, allocations: 453.2 kB / 321.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006039/0.1048, allocations: 4.074 MB / 325.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.1055, allocations: 0.5636 MB / 325.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007224/0.1062, allocations: 251 kB / 326 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009219/0.1071, allocations: 451 kB / 326.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1071, allocations: 0 / 326.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of Templates: time 0.03031/0.1374, allocations: 24.76 MB / 351.2 MB, free: 1.395 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.178011640906334]