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.001407/0.001407, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001469/0.001469, allocations: 167.7 kB / 25.33 MB, free: 9.449 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.8984/0.8984, allocations: 158.6 MB / 187.2 MB, free: 2.551 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.814e-06/1.814e-06, allocations: 0 / 251.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.687e-05, allocations: 6.312 kB / 251.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01066/0.01069, allocations: 10.77 MB / 261.8 MB, free: 8.746 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007103/0.01779, allocations: 3.623 MB / 265.5 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.01916, allocations: 71.5 kB / 265.5 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.02068, allocations: 0.8187 MB / 266.4 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.02282, allocations: 0.939 MB / 267.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008219/0.02364, allocations: 471.2 kB / 267.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002949/0.02659, allocations: 3.061 MB / 270.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.02809, allocations: 1.489 MB / 272.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.03015, allocations: 2.066 MB / 274.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.03178, allocations: 1.649 MB / 276 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003891/0.03217, allocations: 376 kB / 276.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005775/0.03275, allocations: 471.8 kB / 276.8 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006869/0.03343, allocations: 1.13 MB / 278 MB, free: 8.496 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009759/0.03441, allocations: 1.154 MB / 279.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.03662, allocations: 2.679 MB / 281.8 MB, free: 4.652 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.03662, allocations: 3.984 kB / 281.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.03662, allocations: 0 / 281.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.944e-05/0.03667, allocations: 3.938 kB / 281.8 MB, free: 4.645 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.003778/0.04045, allocations: 3.566 MB / 285.4 MB, free: 1.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.04049, allocations: 8.031 kB / 285.4 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007327/0.04123, allocations: 0.5496 MB / 285.9 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.04296, allocations: 1.553 MB / 287.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.04306, allocations: 189.4 kB / 287.7 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/0.0433, allocations: 256.3 kB / 287.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.0458, allocations: 1.992 MB / 289.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.634e-05/0.04585, allocations: 11.95 kB / 289.9 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.04599, allocations: 100 kB / 290 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.77e-05/0.04609, allocations: 124.9 kB / 290.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.04777, allocations: 0.9501 MB / 291.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008328/0.0561, allocations: 8.774 MB / 299.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000786/0.05689, allocations: 0.5367 MB / 300.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004595/0.05735, allocations: 331.1 kB / 300.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.05752, allocations: 52.95 kB / 300.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.05755, allocations: 46.39 kB / 300.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of pre-optimization done (n=97): time 2.205e-06/0.05755, allocations: 0 / 300.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.1332/0.1907, allocations: 3.847 MB / 304.7 MB, free: 50.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.1908, allocations: 65.06 kB / 304.7 MB, free: 50.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/0.193, allocations: 1.449 MB / 306.2 MB, free: 49.97 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.193, allocations: 47.52 kB / 306.2 MB, free: 49.94 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007987/0.1938, allocations: 1.41 MB / 307.6 MB, free: 49.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/0.1942, allocations: 448.2 kB / 308.1 MB, free: 49.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004005/0.1946, allocations: 302.5 kB / 308.4 MB, free: 49.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.1946, allocations: 479 kB / 308.8 MB, free: 48.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005947/0.1952, allocations: 248 kB / 309.1 MB, free: 48.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007827/0.196, allocations: 0.9841 MB / 310.1 MB, free: 47.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.1973, allocations: 1.381 MB / 311.5 MB, free: 46.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/0.1973, allocations: 8.594 kB / 311.5 MB, free: 46.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002351/0.1997, allocations: 1.431 MB / 312.9 MB, free: 46.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.1997, allocations: 12.45 kB / 312.9 MB, free: 46.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/0.1998, allocations: 17.22 kB / 312.9 MB, free: 46.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004284/0.2002, allocations: 143 kB / 313.1 MB, free: 46.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009162/0.2011, allocations: 414.9 kB / 313.5 MB, free: 46.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.2028, allocations: 3.631 MB / 317.1 MB, free: 43.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.2039, allocations: 131.9 kB / 317.2 MB, free: 43.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.001e-05/0.204, allocations: 75.59 kB / 317.3 MB, free: 43.12 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.0007159/0.2047, allocations: 261.6 kB / 317.6 MB, free: 42.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/0.2049, allocations: 222.1 kB / 317.8 MB, free: 42.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.2063, allocations: 1.032 MB / 318.8 MB, free: 42.63 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.2063, allocations: 12.78 kB / 318.8 MB, free: 42.63 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2063, allocations: 1.781 kB / 318.8 MB, free: 42.63 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.2063, allocations: 8.25 kB / 318.8 MB, free: 42.63 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004024/0.2103, allocations: 3.11 MB / 321.9 MB, free: 41.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.2103, allocations: 2.469 kB / 321.9 MB, free: 41.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/0.2109, allocations: 259.2 kB / 322.2 MB, free: 41.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002704/0.2112, allocations: 118.6 kB / 322.3 MB, free: 41.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-05/0.2112, allocations: 22.69 kB / 322.3 MB, free: 41.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.2127, allocations: 3.622 MB / 326 MB, free: 37.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.2127, allocations: 7.625 kB / 326 MB, free: 37.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.2143, allocations: 1.493 MB / 327.5 MB, free: 36.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/0.2147, allocations: 326.6 kB / 327.8 MB, free: 36.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.2149, allocations: 19 kB / 327.8 MB, free: 36.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.2153, allocations: 89.72 kB / 327.9 MB, free: 36.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.2154, allocations: 92.19 kB / 328 MB, free: 36.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.2155, allocations: 37.39 kB / 328 MB, free: 36.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007712/0.2162, allocations: 0.824 MB / 328.8 MB, free: 35.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2162, allocations: 0 / 328.8 MB, free: 35.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00137/0.2176, allocations: 487 kB / 329.3 MB, free: 35.46 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.0003433/0.218, allocations: 187.5 kB / 329.5 MB, free: 35.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.2196, allocations: 1.334 MB / 330.8 MB, free: 34.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2196, allocations: 0 / 330.8 MB, free: 34.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006858/0.2203, allocations: 0.8549 MB / 331.7 MB, free: 33.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.2214, allocations: 466.1 kB / 332.1 MB, free: 32.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/0.2268, allocations: 4.207 MB / 336.3 MB, free: 28.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.2272, allocations: 0.6534 MB / 337 MB, free: 28.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0009144/0.2281, allocations: 378.8 kB / 337.4 MB, free: 27.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.2284, allocations: 132.5 kB / 337.5 MB, free: 27.62 MB / 282.7 MB Notification: Performance of SimCode: time 2.404e-06/0.2285, allocations: 0 / 337.5 MB, free: 27.62 MB / 282.7 MB Notification: Performance of Templates: time 0.02963/0.2581, allocations: 24.83 MB / 362.3 MB, free: 2.832 MB / 282.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.779078118968755]