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.001122/0.001122, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001134/0.001134, allocations: 167.1 kB / 25.75 MB, free: 8.598 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.9476/0.9476, allocations: 158.6 MB / 187.5 MB, free: 2.934 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.613e-06/1.613e-06, allocations: 3.938 kB / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.424e-05, allocations: 2.312 kB / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.0127/0.01272, allocations: 10.7 MB / 261.8 MB, free: 13.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005704/0.01842, allocations: 3.623 MB / 265.5 MB, free: 9.391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.01943, allocations: 79.44 kB / 265.5 MB, free: 9.312 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.02076, allocations: 0.811 MB / 266.3 MB, free: 8.496 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.02246, allocations: 0.9429 MB / 267.3 MB, free: 7.547 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006982/0.02316, allocations: 467.2 kB / 267.7 MB, free: 7.09 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.02542, allocations: 3.059 MB / 270.8 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.02683, allocations: 1.489 MB / 272.3 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.0287, allocations: 2.074 MB / 274.4 MB, free: 392 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.03068, allocations: 1.641 MB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005112/0.03119, allocations: 380 kB / 276.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006246/0.03181, allocations: 471.8 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007867/0.0326, allocations: 1.13 MB / 278 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.0337, allocations: 1.146 MB / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.03624, allocations: 2.69 MB / 281.8 MB, free: 8.926 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.03624, allocations: 0 / 281.8 MB, free: 8.926 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.03624, allocations: 0 / 281.8 MB, free: 8.926 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.179e-05/0.03632, allocations: 0 / 281.8 MB, free: 8.926 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.004261/0.04058, allocations: 3.565 MB / 285.4 MB, free: 5.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.04062, allocations: 11.97 kB / 285.4 MB, free: 5.289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009115/0.04153, allocations: 0.5496 MB / 285.9 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.04348, allocations: 1.548 MB / 287.5 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.0436, allocations: 189.4 kB / 287.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/0.04386, allocations: 252.3 kB / 287.9 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/0.04656, allocations: 1.998 MB / 289.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-05/0.04661, allocations: 8 kB / 289.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.04677, allocations: 100 kB / 290 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.04687, allocations: 128.9 kB / 290.1 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.04873, allocations: 0.9501 MB / 291.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008827/0.05755, allocations: 8.77 MB / 299.9 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000874/0.05843, allocations: 0.5356 MB / 300.4 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.05892, allocations: 331.1 kB / 300.7 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.05909, allocations: 52.95 kB / 300.8 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.05913, allocations: 50.33 kB / 300.8 MB, free: 5.285 MB / 282.7 MB Notification: Performance of pre-optimization done (n=97): time 2.795e-06/0.05913, allocations: 0 / 300.8 MB, free: 5.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.006552/0.06569, allocations: 3.856 MB / 304.7 MB, free: 1.379 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.06573, allocations: 68.41 kB / 304.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.06722, allocations: 1.446 MB / 306.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/0.0673, allocations: 45.7 kB / 306.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000673/0.06797, allocations: 1.407 MB / 307.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.06822, allocations: 448.2 kB / 308.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/0.06853, allocations: 305.1 kB / 308.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.06863, allocations: 480.8 kB / 308.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004211/0.06905, allocations: 255.8 kB / 309.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007317/0.06979, allocations: 0.9845 MB / 310.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.07105, allocations: 1.379 MB / 311.5 MB, free: 9.898 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.07106, allocations: 7.938 kB / 311.5 MB, free: 9.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00194/0.073, allocations: 1.436 MB / 312.9 MB, free: 8.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.07302, allocations: 12 kB / 312.9 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.07304, allocations: 16 kB / 312.9 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003262/0.07337, allocations: 142.9 kB / 313.1 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008157/0.07418, allocations: 423.3 kB / 313.5 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.07617, allocations: 3.632 MB / 317.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008571/0.07703, allocations: 123.8 kB / 317.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.07713, allocations: 68 kB / 317.3 MB, free: 3.762 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 {(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.0005101/0.07765, allocations: 264.1 kB / 317.6 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.07795, allocations: 230.7 kB / 317.8 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.07972, allocations: 1.025 MB / 318.8 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.07973, allocations: 16 kB / 318.8 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.07974, allocations: 8 kB / 318.8 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.07975, allocations: 7.969 kB / 318.8 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004742/0.08449, allocations: 3.105 MB / 321.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.0845, allocations: 4 kB / 321.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007901/0.08529, allocations: 263.9 kB / 322.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003259/0.08562, allocations: 114.6 kB / 322.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.845e-05/0.08568, allocations: 27.98 kB / 322.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.08762, allocations: 3.609 MB / 326 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.08762, allocations: 3.938 kB / 326 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.0899, allocations: 1.483 MB / 327.4 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005488/0.09045, allocations: 330.6 kB / 327.8 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.09062, allocations: 20 kB / 327.8 MB, free: 8.789 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00063/0.09125, allocations: 95.88 kB / 327.9 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.09141, allocations: 80.84 kB / 328 MB, free: 8.617 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/0.09148, allocations: 39.92 kB / 328 MB, free: 8.578 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001056/0.09253, allocations: 0.825 MB / 328.8 MB, free: 7.758 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09253, allocations: 4.031 kB / 328.8 MB, free: 7.754 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001303/0.09384, allocations: 491.9 kB / 329.3 MB, free: 7.273 MB / 314.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.0003361/0.09417, allocations: 186.9 kB / 329.5 MB, free: 7.082 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.09615, allocations: 1.34 MB / 330.8 MB, free: 5.703 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.09615, allocations: 4.25 kB / 330.8 MB, free: 5.699 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.09718, allocations: 0.8423 MB / 331.7 MB, free: 4.805 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.09865, allocations: 477.5 kB / 332.1 MB, free: 4.348 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005883/0.1045, allocations: 4.194 MB / 336.3 MB, free: 56 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.1051, allocations: 0.6455 MB / 337 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009361/0.1061, allocations: 386.7 kB / 337.4 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000362/0.1064, allocations: 128.5 kB / 337.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.1064, allocations: 0 / 337.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of Templates: time 0.1539/0.2604, allocations: 24.81 MB / 362.3 MB, free: 98.24 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.574664475861937]