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.002942/0.002947, allocations: 186.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.912/3.912, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001954/0.001954, allocations: 90.81 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006319/0.0006322, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.167, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.02279/0.1898, allocations: 7.259 MB / 381.8 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.2034, allocations: 3.073 MB / 384.9 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.2057, allocations: 31.81 kB / 384.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004116/0.2099, allocations: 0.5676 MB / 385.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00573/0.2157, allocations: 0.6426 MB / 386.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.2179, allocations: 215.6 kB / 386.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00607/0.224, allocations: 1.396 MB / 387.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003932/0.2281, allocations: 0.9529 MB / 388.7 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.2308, allocations: 0.6538 MB / 389.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4038/0.6347, allocations: 0.8181 MB / 390.1 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001158/0.636, allocations: 104.5 kB / 390.2 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.638, allocations: 168 kB / 390.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002197/0.6402, allocations: 0.4973 MB / 390.9 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.6423, allocations: 393.2 kB / 391.3 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008298/0.6507, allocations: 2.468 MB / 393.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.6508, allocations: 0 / 393.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.833e-06/0.6508, allocations: 3.25 kB / 393.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000163/0.651, allocations: 0 / 393.8 MB, free: 10.09 MB / 282.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.01189/0.6629, allocations: 1.943 MB / 395.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.091e-05/0.663, allocations: 9.562 kB / 395.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/0.6656, allocations: 225.5 kB / 395.9 MB, free: 9.016 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006824/0.6725, allocations: 1.14 MB / 397.1 MB, free: 8.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003558/0.673, allocations: 111.5 kB / 397.2 MB, free: 8.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/0.6743, allocations: 157.9 kB / 397.3 MB, free: 8.641 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01218/0.6865, allocations: 1.976 MB / 399.3 MB, free: 8.473 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002333/0.6868, allocations: 5.281 kB / 399.3 MB, free: 8.473 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007712/0.6876, allocations: 65.64 kB / 399.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002493/0.6879, allocations: 76.84 kB / 399.5 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009683/0.6976, allocations: 1.637 MB / 401.1 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03073/0.7284, allocations: 6.942 MB / 408 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.7308, allocations: 446.5 kB / 408.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004496/0.7313, allocations: 118.5 kB / 408.6 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.7314, allocations: 37.78 kB / 408.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=47): time 6.252e-06/0.7314, allocations: 5.25 kB / 408.6 MB, free: 4.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=63): time 0.02025/0.7517, allocations: 3.293 MB / 411.9 MB, free: 2.691 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005192/0.7569, allocations: 2.206 MB / 414.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006532/0.7635, allocations: 1.582 MB / 415.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002464/0.7639, allocations: 37.27 kB / 415.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001871/0.7657, allocations: 0.9925 MB / 416.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006577/0.7665, allocations: 242.4 kB / 417 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/0.7668, allocations: 32.97 kB / 417 MB, free: 14.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003542/0.7672, allocations: 380.7 kB / 417.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/0.7697, allocations: 0.507 MB / 417.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004095/0.7738, allocations: 1.458 MB / 419.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003793/0.7777, allocations: 0.7885 MB / 420.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-05/0.7779, allocations: 14.94 kB / 420.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01078/0.7887, allocations: 2.06 MB / 422.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/0.7889, allocations: 20 kB / 422.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/0.789, allocations: 32 kB / 422.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.7907, allocations: 230.8 kB / 422.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004265/0.795, allocations: 398.4 kB / 422.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004446/0.7996, allocations: 1.738 MB / 424.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/0.8043, allocations: 135.4 kB / 424.7 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006814/0.805, allocations: 96.06 kB / 424.8 MB, free: 8.066 MB / 298.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.003279/0.8083, allocations: 0.5927 MB / 425.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00096/0.8093, allocations: 154.1 kB / 425.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006134/0.8155, allocations: 1.109 MB / 426.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-05/0.8156, allocations: 7.984 kB / 426.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/0.8157, allocations: 8.703 kB / 426.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.864e-05/0.8157, allocations: 4 kB / 426.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/0.833, allocations: 3.362 MB / 430.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/0.8331, allocations: 8 kB / 430.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/0.8347, allocations: 110.8 kB / 430.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002025/0.8367, allocations: 226.8 kB / 430.4 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/0.837, allocations: 20 kB / 430.4 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/0.8475, allocations: 3.765 MB / 434.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005528/0.8531, allocations: 2.042 MB / 436.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008146/0.8613, allocations: 2.045 MB / 438.3 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001967/0.8633, allocations: 311.1 kB / 438.6 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008909/0.8643, allocations: 18.62 kB / 438.6 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002607/0.8669, allocations: 52 kB / 438.7 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000427/0.8674, allocations: 63.34 kB / 438.7 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/0.8676, allocations: 24 kB / 438.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.005116/0.8727, allocations: 1.05 MB / 439.8 MB, free: 8.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.964e-06/0.8728, allocations: 0 / 439.8 MB, free: 8.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.004906/0.8778, allocations: 380 kB / 440.2 MB, free: 8.059 MB / 314.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.0007118/0.8786, allocations: 135 kB / 440.3 MB, free: 7.926 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007223/0.8858, allocations: 1.594 MB / 441.9 MB, free: 6.305 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/0.8859, allocations: 0 / 441.9 MB, free: 6.305 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003762/0.8897, allocations: 0.8293 MB / 442.7 MB, free: 5.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005603/0.8954, allocations: 394 kB / 443.1 MB, free: 5.051 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.9105, allocations: 3.741 MB / 446.8 MB, free: 1.199 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003395/0.914, allocations: 1.496 MB / 448.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.9152, allocations: 119.4 kB / 448.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.984e-06/0.9153, allocations: 0 / 448.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of Templates: time 0.1514/1.067, allocations: 44.61 MB / 493.1 MB, free: 2.887 MB / 362.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/jenkins1/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