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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,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=40000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008912/0.0008912, allocations: 98.59 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008194/0.0008197, allocations: 39.94 kB / 327.2 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2204, allocations: 46.61 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.009572/0.2301, allocations: 10.8 MB / 384.6 MB, free: 37.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005785/0.2359, allocations: 3.629 MB / 388.3 MB, free: 34.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.2375, allocations: 60.78 kB / 388.3 MB, free: 34.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.2395, allocations: 0.7078 MB / 389 MB, free: 33.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002457/0.242, allocations: 0.773 MB / 389.8 MB, free: 33.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007837/0.2428, allocations: 415.2 kB / 390.2 MB, free: 32.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002615/0.2454, allocations: 3.316 MB / 393.5 MB, free: 29.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.2473, allocations: 2.263 MB / 395.8 MB, free: 27.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.2487, allocations: 1.202 MB / 397 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.2503, allocations: 1.693 MB / 398.7 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003794/0.2507, allocations: 232 kB / 398.9 MB, free: 24.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007087/0.2514, allocations: 351.8 kB / 399.2 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006528/0.2521, allocations: 0.9269 MB / 400.2 MB, free: 23.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.2533, allocations: 1.516 MB / 401.7 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.2562, allocations: 4.712 MB / 406.4 MB, free: 16.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2562, allocations: 0 / 406.4 MB, free: 16.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.2562, allocations: 0 / 406.4 MB, free: 16.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001064/0.2564, allocations: 4 kB / 406.4 MB, free: 16.79 MB / 298.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.005683/0.262, allocations: 3.386 MB / 409.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2621, allocations: 8.031 kB / 409.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006095/0.2627, allocations: 337.1 kB / 410.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.2651, allocations: 1.694 MB / 411.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.2652, allocations: 201.3 kB / 412 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.2654, allocations: 247.9 kB / 412.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003819/0.2693, allocations: 3.279 MB / 415.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.98e-05/0.2693, allocations: 3.984 kB / 415.5 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.2695, allocations: 108 kB / 415.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.519e-05/0.2696, allocations: 128.9 kB / 415.8 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003308/0.2729, allocations: 2.74 MB / 418.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/0.2859, allocations: 10.52 MB / 429 MB, free: 9.559 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.2876, allocations: 1.362 MB / 430.4 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.2888, allocations: 0.774 MB / 431.2 MB, free: 7.363 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002834/0.2891, allocations: 207.2 kB / 431.4 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.2891, allocations: 43.56 kB / 431.4 MB, free: 7.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=97): time 3.016e-06/0.2892, allocations: 0 / 431.4 MB, free: 7.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.01398/0.3031, allocations: 7.022 MB / 438.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.3032, allocations: 64.41 kB / 438.5 MB, free: 15.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002842/0.3061, allocations: 1.789 MB / 440.3 MB, free: 14.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.917e-05/0.3062, allocations: 49.7 kB / 440.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008477/0.307, allocations: 1.275 MB / 441.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.3073, allocations: 429.9 kB / 442 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004503/0.3078, allocations: 295.2 kB / 442.3 MB, free: 12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.3079, allocations: 305.1 kB / 442.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.3091, allocations: 0.7769 MB / 443.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.3105, allocations: 1.3 MB / 444.7 MB, free: 9.387 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002771/0.3133, allocations: 2.215 MB / 446.9 MB, free: 6.938 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/0.3133, allocations: 8 kB / 446.9 MB, free: 6.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003784/0.3171, allocations: 2.47 MB / 449.4 MB, free: 4.438 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.3171, allocations: 14.03 kB / 449.4 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.3172, allocations: 16 kB / 449.4 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005904/0.3178, allocations: 247.5 kB / 449.7 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.3192, allocations: 415.3 kB / 450.1 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.3217, allocations: 3.005 MB / 453.1 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.323, allocations: 135.8 kB / 453.2 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.3232, allocations: 71.98 kB / 453.3 MB, free: 284 kB / 330.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.001242/0.3244, allocations: 0.8096 MB / 454.1 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003741/0.3248, allocations: 185.7 kB / 454.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/0.328, allocations: 2.042 MB / 456.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.3281, allocations: 15.98 kB / 456.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.3281, allocations: 0 / 456.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.3281, allocations: 3.984 kB / 456.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007583/0.3357, allocations: 4.748 MB / 461.1 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/0.3357, allocations: 4 kB / 461.1 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.3367, allocations: 263.6 kB / 461.3 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005104/0.3373, allocations: 207.5 kB / 461.5 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/0.3374, allocations: 24 kB / 461.6 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/0.3397, allocations: 2.986 MB / 464.5 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3397, allocations: 0 / 464.5 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/0.3537, allocations: 10.67 MB / 475.2 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008436/0.3546, allocations: 426.7 kB / 475.6 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.3549, allocations: 23.98 kB / 475.7 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009389/0.3558, allocations: 91.88 kB / 475.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.356, allocations: 88.92 kB / 475.8 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-05/0.3561, allocations: 35.98 kB / 475.9 MB, free: 8.883 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00165/0.3578, allocations: 1.22 MB / 477.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3578, allocations: 0 / 477.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00173/0.3595, allocations: 0.6211 MB / 477.7 MB, free: 7.051 MB / 362.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.0003601/0.3599, allocations: 190.9 kB / 477.9 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003436/0.3633, allocations: 2.345 MB / 480.2 MB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3634, allocations: 0 / 480.2 MB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.3651, allocations: 1.333 MB / 481.6 MB, free: 3.039 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/0.3672, allocations: 475.5 kB / 482 MB, free: 2.578 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009032/0.3762, allocations: 6.954 MB / 489 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/0.3781, allocations: 2.045 MB / 491 MB, free: 9.434 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001512/0.3796, allocations: 0.5038 MB / 491.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/0.3801, allocations: 147.4 kB / 491.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3801, allocations: 0 / 491.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of Templates: time 0.1844/0.5645, allocations: 27.13 MB / 0.5067 GB, free: 122.5 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_CurrentSource/SMPM_CurrentSource.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches