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.001956/0.001956, allocations: 92.33 kB / 21.73 MB, free: 2.684 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.002329/0.002329, allocations: 162.8 kB / 25.02 MB, free: 9.438 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 1.36/1.36, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.266e-05, allocations: 2.312 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.02617/0.0262, allocations: 9.602 MB / 260 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01343/0.03963, allocations: 3.486 MB / 263.5 MB, free: 6.773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002433/0.04207, allocations: 83.44 kB / 263.5 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004708/0.04677, allocations: 0.8148 MB / 264.4 MB, free: 5.871 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00592/0.05269, allocations: 0.9352 MB / 265.3 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.05517, allocations: 475.1 kB / 265.8 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007328/0.06249, allocations: 3.054 MB / 268.8 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004609/0.0671, allocations: 1.485 MB / 270.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005871/0.07297, allocations: 2.043 MB / 272.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004978/0.07795, allocations: 1.52 MB / 273.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001348/0.0793, allocations: 376 kB / 274.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.08138, allocations: 471.8 kB / 274.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002664/0.08405, allocations: 1.122 MB / 275.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003503/0.08755, allocations: 1.138 MB / 277 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.09877, allocations: 4.942 MB / 281.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.09877, allocations: 0 / 281.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.09878, allocations: 0 / 281.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001308/0.09891, allocations: 0 / 281.9 MB, free: 4.223 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.014/0.1129, allocations: 3.363 MB / 285.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.113, allocations: 8.031 kB / 285.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002497/0.1155, allocations: 0.5573 MB / 285.8 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006123/0.1216, allocations: 1.689 MB / 287.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003239/0.1219, allocations: 193.3 kB / 287.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000754/0.1227, allocations: 248.4 kB / 287.9 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009439/0.1321, allocations: 3.363 MB / 291.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.021e-05/0.1322, allocations: 7.953 kB / 291.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002967/0.1325, allocations: 108 kB / 291.4 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001689/0.1327, allocations: 124.9 kB / 291.5 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005616/0.1383, allocations: 2.74 MB / 294.3 MB, free: 7.625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1309/0.2692, allocations: 9.224 MB / 303.5 MB, free: 52.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.271, allocations: 1.054 MB / 304.6 MB, free: 52.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.2722, allocations: 0.6989 MB / 305.3 MB, free: 52.42 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.2724, allocations: 59.81 kB / 305.3 MB, free: 52.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.2724, allocations: 43.16 kB / 305.4 MB, free: 52.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=97): time 2.705e-06/0.2724, allocations: 1.219 kB / 305.4 MB, free: 52.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.0158/0.2882, allocations: 6.794 MB / 312.2 MB, free: 50.37 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.2883, allocations: 64.12 kB / 312.2 MB, free: 50.31 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.2907, allocations: 1.639 MB / 313.9 MB, free: 49.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.656e-05/0.2908, allocations: 45.39 kB / 313.9 MB, free: 49.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006457/0.2915, allocations: 1.325 MB / 315.2 MB, free: 48.8 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.2918, allocations: 442.4 kB / 315.7 MB, free: 48.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004105/0.2922, allocations: 289.9 kB / 315.9 MB, free: 48.36 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.398e-05/0.2922, allocations: 308 kB / 316.2 MB, free: 48.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009878/0.2932, allocations: 0.7806 MB / 317 MB, free: 47.78 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.2944, allocations: 1.29 MB / 318.3 MB, free: 46.81 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/0.2966, allocations: 2.218 MB / 320.5 MB, free: 45.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.2966, allocations: 3.562 kB / 320.5 MB, free: 45.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003641/0.3003, allocations: 2.552 MB / 323.1 MB, free: 43.28 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.3003, allocations: 12.62 kB / 323.1 MB, free: 43.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.3003, allocations: 23.94 kB / 323.1 MB, free: 43.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/0.3009, allocations: 235.3 kB / 323.3 MB, free: 43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.3023, allocations: 420.1 kB / 323.8 MB, free: 42.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.3042, allocations: 2.993 MB / 326.8 MB, free: 39.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.3057, allocations: 127.6 kB / 326.9 MB, free: 39.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.3058, allocations: 68 kB / 326.9 MB, free: 39.21 MB / 282.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 {(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.001187/0.307, allocations: 0.8213 MB / 327.8 MB, free: 38.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/0.3074, allocations: 230.7 kB / 328 MB, free: 38.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/0.3101, allocations: 2.014 MB / 330 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.984e-06/0.3101, allocations: 12 kB / 330 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3101, allocations: 0 / 330 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.3101, allocations: 7.984 kB / 330 MB, free: 36.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005782/0.3159, allocations: 4.103 MB / 334.1 MB, free: 31.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3159, allocations: 0 / 334.1 MB, free: 31.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009871/0.3169, allocations: 264.5 kB / 334.4 MB, free: 31.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000489/0.3174, allocations: 213.9 kB / 334.6 MB, free: 31.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/0.3175, allocations: 24 kB / 334.6 MB, free: 31.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.3192, allocations: 2.962 MB / 337.6 MB, free: 28.28 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3192, allocations: 4.031 kB / 337.6 MB, free: 28.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003621/0.3228, allocations: 3.16 MB / 340.7 MB, free: 25.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007402/0.3236, allocations: 345.9 kB / 341.1 MB, free: 24.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.3238, allocations: 20 kB / 341.1 MB, free: 24.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008477/0.3246, allocations: 91.88 kB / 341.2 MB, free: 24.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.3248, allocations: 88.78 kB / 341.3 MB, free: 24.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.005e-05/0.3249, allocations: 39.92 kB / 341.3 MB, free: 24.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001272/0.3261, allocations: 1.094 MB / 342.4 MB, free: 23.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3261, allocations: 0 / 342.4 MB, free: 23.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001475/0.3276, allocations: 496 kB / 342.9 MB, free: 22.91 MB / 282.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 {(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.0003716/0.328, allocations: 178.9 kB / 343.1 MB, free: 22.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002965/0.331, allocations: 2.123 MB / 345.2 MB, free: 20.58 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.331, allocations: 448 / 345.2 MB, free: 20.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.3324, allocations: 1.117 MB / 346.3 MB, free: 19.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.3345, allocations: 476.1 kB / 346.8 MB, free: 19.01 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006566/0.3411, allocations: 4.938 MB / 351.7 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.3423, allocations: 1.446 MB / 353.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001242/0.3435, allocations: 494.7 kB / 353.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/0.3439, allocations: 128.5 kB / 353.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of SimCode: time 1.453e-06/0.3439, allocations: 0 / 353.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of Templates: time 0.04215/0.3861, allocations: 24.81 MB / 378.6 MB, free: 3.105 MB / 298.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=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: 5.533142580999993]