Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009105/0.0009105, allocations: 175.3 kB / 16.72 MB, free: 5.086 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.236/1.236, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0006856/0.0006855, allocations: 89.23 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002838, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1977, allocations: 47.58 MB / 375.1 MB, free: 45.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.006815/0.2046, allocations: 7.926 MB / 383 MB, free: 39.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004927/0.2096, allocations: 3.006 MB / 386 MB, free: 36.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.211, allocations: 31.34 kB / 386.1 MB, free: 36.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.2126, allocations: 0.5504 MB / 386.6 MB, free: 36.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.2147, allocations: 0.5949 MB / 387.2 MB, free: 35.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.2154, allocations: 220.4 kB / 387.4 MB, free: 35.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002445/0.2179, allocations: 2.225 MB / 389.6 MB, free: 34.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.2191, allocations: 1.155 MB / 390.8 MB, free: 32.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.2203, allocations: 0.7042 MB / 391.5 MB, free: 32.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.2213, allocations: 0.9534 MB / 392.5 MB, free: 31.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002032/0.2215, allocations: 104 kB / 392.6 MB, free: 31.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/0.222, allocations: 199.8 kB / 392.7 MB, free: 30.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004067/0.2224, allocations: 0.5373 MB / 393.3 MB, free: 30.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007776/0.2232, allocations: 0.9037 MB / 394.2 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.2249, allocations: 2.489 MB / 396.7 MB, free: 27.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2249, allocations: 0 / 396.7 MB, free: 27.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2249, allocations: 0 / 396.7 MB, free: 27.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.287e-05/0.225, allocations: 0 / 396.7 MB, free: 27.02 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.002906/0.2279, allocations: 1.93 MB / 398.6 MB, free: 25.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2279, allocations: 12.03 kB / 398.6 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005194/0.2285, allocations: 234.3 kB / 398.8 MB, free: 24.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.2299, allocations: 1.142 MB / 400 MB, free: 23.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/0.23, allocations: 111.5 kB / 400.1 MB, free: 23.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.2302, allocations: 159.9 kB / 400.3 MB, free: 23.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/0.2328, allocations: 1.989 MB / 402.2 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.2329, allocations: 11.84 kB / 402.3 MB, free: 21.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.233, allocations: 63.98 kB / 402.3 MB, free: 21.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.029e-05/0.2331, allocations: 78.91 kB / 402.4 MB, free: 21.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.2352, allocations: 1.635 MB / 404 MB, free: 19.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007606/0.2428, allocations: 6.979 MB / 411 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006107/0.2435, allocations: 453.8 kB / 411.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.2438, allocations: 262 kB / 411.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.244, allocations: 121.5 kB / 411.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.244, allocations: 35 kB / 411.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 2.825e-06/0.244, allocations: 0 / 411.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.005906/0.2499, allocations: 3.288 MB / 415.2 MB, free: 7.926 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0017/0.2517, allocations: 2.174 MB / 417.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.2535, allocations: 1.596 MB / 418.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.532e-05/0.2536, allocations: 37.7 kB / 419 MB, free: 3.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004413/0.254, allocations: 1.026 MB / 420 MB, free: 2.898 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.2542, allocations: 236.8 kB / 420.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.2542, allocations: 36 kB / 420.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.2543, allocations: 365.9 kB / 420.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006622/0.255, allocations: 0.5153 MB / 421.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.256, allocations: 1.457 MB / 422.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/0.2583, allocations: 2.134 MB / 424.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.2583, allocations: 8 kB / 424.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003405/0.2617, allocations: 2.146 MB / 426.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.2618, allocations: 23.28 kB / 426.9 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.014e-05/0.2618, allocations: 36 kB / 426.9 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005242/0.2624, allocations: 226.3 kB / 427.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.2634, allocations: 399.2 kB / 427.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.265, allocations: 1.71 MB / 429.2 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.2663, allocations: 135.4 kB / 429.4 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.2664, allocations: 99.98 kB / 429.5 MB, free: 8.301 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000915/0.2673, allocations: 0.5828 MB / 430.1 MB, free: 7.707 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.2676, allocations: 154.1 kB / 430.2 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.2695, allocations: 1.106 MB / 431.3 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.2695, allocations: 11.94 kB / 431.3 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2695, allocations: 0 / 431.3 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2695, allocations: 3.984 kB / 431.3 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005054/0.2746, allocations: 3.382 MB / 434.7 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.2746, allocations: 4 kB / 434.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.275, allocations: 115.8 kB / 434.8 MB, free: 2.754 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006483/0.2757, allocations: 222.4 kB / 435 MB, free: 2.527 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-05/0.2757, allocations: 20.17 kB / 435.1 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003557/0.2793, allocations: 3.702 MB / 438.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001908/0.2812, allocations: 2.021 MB / 440.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.2838, allocations: 1.734 MB / 442.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006086/0.2844, allocations: 311.1 kB / 442.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.2846, allocations: 16 kB / 442.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006105/0.2852, allocations: 51.88 kB / 442.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.2854, allocations: 71.8 kB / 443 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.2854, allocations: 20.31 kB / 443 MB, free: 10.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001556/0.287, allocations: 1.059 MB / 444 MB, free: 9 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.287, allocations: 0 / 444 MB, free: 9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001657/0.2887, allocations: 388 kB / 444.4 MB, free: 8.621 MB / 330.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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003424/0.289, allocations: 171.1 kB / 444.6 MB, free: 8.441 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002517/0.2915, allocations: 1.594 MB / 446.2 MB, free: 6.801 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.2916, allocations: 0 / 446.2 MB, free: 6.801 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.2928, allocations: 0.836 MB / 447 MB, free: 5.918 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.2955, allocations: 380.3 kB / 447.4 MB, free: 5.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.3004, allocations: 3.764 MB / 451.2 MB, free: 1.676 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.3015, allocations: 1.453 MB / 452.6 MB, free: 196 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/0.3019, allocations: 123.4 kB / 452.7 MB, free: 72 kB / 330.7 MB Notification: Performance of SimCode: time 6.82e-07/0.3019, allocations: 0 / 452.7 MB, free: 72 kB / 330.7 MB Notification: Performance of Templates: time 0.05319/0.3551, allocations: 46.91 MB / 499.6 MB, free: 1.105 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_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_NoLoad/SMPM_NoLoad.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches