Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, 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.272/1.272, 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.0009506/0.0009504, allocations: 99.66 kB / 271.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008659/0.000866, allocations: 43.94 kB / 327.2 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2002, 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_NoLoad): time 0.007844/0.208, allocations: 8.916 MB / 382.7 MB, free: 38.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004699/0.2128, allocations: 3.186 MB / 385.9 MB, free: 36.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.2144, allocations: 36.09 kB / 386 MB, free: 36.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.216, allocations: 0.5946 MB / 386.6 MB, free: 35.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.2175, allocations: 0.6367 MB / 387.2 MB, free: 35.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.2181, allocations: 289.4 kB / 387.5 MB, free: 34.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.2198, allocations: 2.467 MB / 389.9 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009421/0.2208, allocations: 1.164 MB / 391.1 MB, free: 32.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006379/0.2214, allocations: 0.7976 MB / 391.9 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008049/0.2222, allocations: 1.093 MB / 393 MB, free: 30.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.2224, allocations: 144 kB / 393.1 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004044/0.2228, allocations: 243.8 kB / 393.4 MB, free: 29.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003783/0.2232, allocations: 0.5919 MB / 394 MB, free: 29.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006037/0.2238, allocations: 0.9834 MB / 395 MB, free: 28.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.2254, allocations: 3.006 MB / 398 MB, free: 25.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2254, allocations: 3.938 kB / 398 MB, free: 25.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.2254, allocations: 0 / 398 MB, free: 25.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.2254, allocations: 4 kB / 398 MB, free: 25.26 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.00291/0.2283, allocations: 2.261 MB / 400.2 MB, free: 22.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.2284, allocations: 8.031 kB / 400.2 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004405/0.2288, allocations: 222.5 kB / 400.5 MB, free: 22.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.2302, allocations: 1.153 MB / 401.6 MB, free: 21.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.2303, allocations: 111.5 kB / 401.7 MB, free: 21.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.2305, allocations: 163.8 kB / 401.9 MB, free: 21.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.2326, allocations: 2 MB / 403.9 MB, free: 19.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/0.2327, allocations: 8 kB / 403.9 MB, free: 19.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.2328, allocations: 60 kB / 403.9 MB, free: 19.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.518e-05/0.2328, allocations: 78.91 kB / 404 MB, free: 19.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.2348, allocations: 1.647 MB / 405.7 MB, free: 17.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00641/0.2412, allocations: 6.944 MB / 412.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/0.2418, allocations: 461.4 kB / 413.1 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.2421, allocations: 258 kB / 413.3 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.2423, allocations: 117.5 kB / 413.4 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2423, allocations: 39.47 kB / 413.5 MB, free: 9.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 3.086e-06/0.2423, allocations: 3.938 kB / 413.5 MB, free: 9.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.005432/0.2478, allocations: 3.29 MB / 416.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001657/0.2494, allocations: 2.163 MB / 418.9 MB, free: 3.516 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.2511, allocations: 1.619 MB / 420.5 MB, free: 1.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.2511, allocations: 33.7 kB / 420.6 MB, free: 1.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.2515, allocations: 1.022 MB / 421.6 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2516, allocations: 236.8 kB / 421.8 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.2519, allocations: 327.1 kB / 422.1 MB, free: 256 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.235e-05/0.252, allocations: 305.1 kB / 422.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006753/0.2527, allocations: 0.5114 MB / 423 MB, free: 15.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.2539, allocations: 1.457 MB / 424.4 MB, free: 13.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.256, allocations: 2.145 MB / 426.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.256, allocations: 12 kB / 426.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003006/0.2591, allocations: 2.158 MB / 428.7 MB, free: 8.711 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.2591, allocations: 20 kB / 428.7 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.2591, allocations: 36 kB / 428.8 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/0.2596, allocations: 230.3 kB / 429 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.2607, allocations: 391.3 kB / 429.4 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.2622, allocations: 1.714 MB / 431.1 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.2633, allocations: 139.5 kB / 431.2 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.2634, allocations: 95.98 kB / 431.3 MB, free: 5.961 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007354/0.2642, allocations: 0.5828 MB / 431.9 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.2644, allocations: 154.1 kB / 432.1 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.2662, allocations: 1.125 MB / 433.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.505e-06/0.2662, allocations: 11.94 kB / 433.2 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2662, allocations: 0 / 433.2 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.2662, allocations: 3.984 kB / 433.2 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004932/0.2712, allocations: 3.382 MB / 436.6 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.2712, allocations: 4 kB / 436.6 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.2716, allocations: 115.8 kB / 436.7 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005811/0.2722, allocations: 231 kB / 436.9 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.2722, allocations: 16 kB / 436.9 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003453/0.2757, allocations: 3.713 MB / 440.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001877/0.2776, allocations: 2.033 MB / 442.7 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/0.2889, allocations: 8.26 MB / 451 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005076/0.2894, allocations: 307.1 kB / 451.3 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.2896, allocations: 19.98 kB / 451.3 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.2902, allocations: 47.89 kB / 451.3 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.2903, allocations: 63.86 kB / 451.4 MB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.2904, allocations: 24 kB / 451.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001385/0.2918, allocations: 1.074 MB / 452.5 MB, free: 15.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2918, allocations: 0 / 452.5 MB, free: 15.78 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001713/0.2935, allocations: 0.5156 MB / 453 MB, free: 15.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003247/0.2938, allocations: 175.1 kB / 453.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002299/0.2962, allocations: 1.601 MB / 454.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2962, allocations: 0 / 454.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.2973, allocations: 0.8522 MB / 455.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.299, allocations: 385.9 kB / 456 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006563/0.3055, allocations: 4.558 MB / 460.6 MB, free: 7.453 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.3068, allocations: 1.501 MB / 462.1 MB, free: 5.918 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00126/0.3081, allocations: 350 kB / 462.4 MB, free: 5.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.3084, allocations: 115.4 kB / 462.5 MB, free: 5.457 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3084, allocations: 0 / 462.5 MB, free: 5.457 MB / 346.7 MB Notification: Performance of Templates: time 0.03277/0.3412, allocations: 21.48 MB / 484 MB, free: 15.97 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_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_NoLoad/SMPM_NoLoad.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches