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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 110 kB / 18.25 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.001091, allocations: 195.5 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.1 MB / 225.1 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 51.92 kB / 281.3 MB, free: 3.152 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08327/0.08447, allocations: 46.63 MB / 328 MB, free: 4.453 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01182/0.09633, allocations: 10.89 MB / 338.8 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006193/0.1026, allocations: 3.654 MB / 342.5 MB, free: 5.832 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.1037, allocations: 67.69 kB / 342.6 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.1055, allocations: 0.8111 MB / 343.4 MB, free: 4.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.1077, allocations: 0.8735 MB / 344.3 MB, free: 4.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008755/0.1086, allocations: 467.3 kB / 344.7 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002604/0.1112, allocations: 2.924 MB / 347.6 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002655/0.1138, allocations: 2.683 MB / 350.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.1153, allocations: 1.359 MB / 351.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/0.1175, allocations: 1.759 MB / 353.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005231/0.118, allocations: 372 kB / 353.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008574/0.1189, allocations: 475.8 kB / 354.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009581/0.1198, allocations: 1.071 MB / 355.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001656/0.1215, allocations: 1.672 MB / 357 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004114/0.1256, allocations: 4.821 MB / 361.8 MB, free: 2.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1256, allocations: 0 / 361.8 MB, free: 2.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1256, allocations: 0 / 361.8 MB, free: 2.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.763e-05/0.1257, allocations: 0 / 361.8 MB, free: 2.387 MB / 302.1 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.006268/0.132, allocations: 3.39 MB / 365.2 MB, free: 14.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1321, allocations: 8.031 kB / 365.2 MB, free: 14.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007669/0.1328, allocations: 341.1 kB / 365.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/0.1355, allocations: 1.686 MB / 367.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.1357, allocations: 201.3 kB / 367.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/0.136, allocations: 247.9 kB / 367.7 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004885/0.1409, allocations: 3.283 MB / 371 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.026e-05/0.141, allocations: 7.938 kB / 371 MB, free: 9.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/0.1412, allocations: 107.9 kB / 371.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.1413, allocations: 120.9 kB / 371.2 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00442/0.1457, allocations: 2.748 MB / 373.9 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1658/0.3115, allocations: 10.51 MB / 384.5 MB, free: 45.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.3133, allocations: 1.352 MB / 385.8 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.3145, allocations: 0.7759 MB / 386.6 MB, free: 45.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/0.3147, allocations: 206.9 kB / 386.8 MB, free: 45.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3148, allocations: 45.97 kB / 386.8 MB, free: 45.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 2.976e-06/0.3148, allocations: 0 / 386.8 MB, free: 45.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01497/0.3298, allocations: 7.036 MB / 393.9 MB, free: 42.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.3298, allocations: 62.84 kB / 393.9 MB, free: 42.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.3322, allocations: 1.788 MB / 395.7 MB, free: 42.05 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.243e-05/0.3323, allocations: 51.2 kB / 395.8 MB, free: 42 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006312/0.3329, allocations: 1.277 MB / 397 MB, free: 41.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.3332, allocations: 425.8 kB / 397.5 MB, free: 40.69 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004302/0.3336, allocations: 298.6 kB / 397.7 MB, free: 40.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.756e-05/0.3337, allocations: 305.1 kB / 398 MB, free: 40.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009336/0.3346, allocations: 0.777 MB / 398.8 MB, free: 39.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.3357, allocations: 1.293 MB / 400.1 MB, free: 38.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.3379, allocations: 2.216 MB / 402.3 MB, free: 37.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.3379, allocations: 3.875 kB / 402.3 MB, free: 37.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00322/0.3411, allocations: 2.474 MB / 404.8 MB, free: 36.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.3411, allocations: 11.16 kB / 404.8 MB, free: 36.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.3412, allocations: 14.38 kB / 404.8 MB, free: 36.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/0.3417, allocations: 242 kB / 405.1 MB, free: 35.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.343, allocations: 419.8 kB / 405.5 MB, free: 35.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.3448, allocations: 3.247 MB / 408.7 MB, free: 32.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.3462, allocations: 125.7 kB / 408.8 MB, free: 32.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.452e-05/0.3463, allocations: 71.36 kB / 408.9 MB, free: 32.57 MB / 318.1 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.001145/0.3474, allocations: 0.8327 MB / 409.8 MB, free: 32.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/0.3477, allocations: 188.8 kB / 409.9 MB, free: 31.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002697/0.3504, allocations: 2.031 MB / 412 MB, free: 29.78 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.3504, allocations: 12 kB / 412 MB, free: 29.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3504, allocations: 0 / 412 MB, free: 29.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.3504, allocations: 3.984 kB / 412 MB, free: 29.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006168/0.3566, allocations: 4.772 MB / 416.8 MB, free: 24.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.3567, allocations: 4 kB / 416.8 MB, free: 24.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009656/0.3576, allocations: 255.6 kB / 417 MB, free: 24.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/0.3581, allocations: 207.5 kB / 417.2 MB, free: 24.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.681e-05/0.3582, allocations: 24 kB / 417.2 MB, free: 24.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.3599, allocations: 3.223 MB / 420.5 MB, free: 20.94 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3599, allocations: 0 / 420.5 MB, free: 20.94 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/0.3636, allocations: 3.136 MB / 423.6 MB, free: 17.76 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000812/0.3644, allocations: 426.7 kB / 424 MB, free: 17.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/0.3646, allocations: 20 kB / 424 MB, free: 17.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000906/0.3656, allocations: 95.81 kB / 424.1 MB, free: 17.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.3657, allocations: 80.95 kB / 424.2 MB, free: 17.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.507e-05/0.3658, allocations: 39.92 kB / 424.2 MB, free: 17.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001466/0.3673, allocations: 1.216 MB / 425.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3673, allocations: 0 / 425.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001452/0.3687, allocations: 489.1 kB / 425.9 MB, free: 15.41 MB / 318.1 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.000313/0.3691, allocations: 189.5 kB / 426.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004116/0.3732, allocations: 2.986 MB / 429.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.3732, allocations: 0 / 429.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.3746, allocations: 1.333 MB / 430.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/0.3767, allocations: 499.7 kB / 430.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006137/0.3828, allocations: 4.98 MB / 435.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.384, allocations: 1.974 MB / 437.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005541/0.3846, allocations: 151.4 kB / 438 MB, free: 3.113 MB / 318.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3846, allocations: 0 / 438 MB, free: 3.113 MB / 318.1 MB Notification: Performance of Templates: time 0.08328/0.4679, allocations: 82.58 MB / 0.5084 GB, free: 376 kB / 398.1 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/jenkins1/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/jenkins1/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) Reference file matches