Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008685/0.0008686, allocations: 94.84 kB / 16.3 MB, free: 5.652 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.0008818/0.0008819, allocations: 182.1 kB / 17.2 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000222/0.000222, allocations: 5.75 kB / 300.7 MB, free: 6.004 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08447/0.08471, allocations: 50.42 MB / 351.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0187/0.1034, allocations: 19.84 MB / 371 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.1166, allocations: 6.933 MB / 377.9 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004137/0.1208, allocations: 163.5 kB / 378.1 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004667/0.1255, allocations: 1.489 MB / 379.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007357/0.1329, allocations: 2.474 MB / 382.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003729/0.1366, allocations: 1.19 MB / 383.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0158/0.1524, allocations: 9.87 MB / 393.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03279/0.1853, allocations: 17.77 MB / 410.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006399/0.1917, allocations: 3.855 MB / 414.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006768/0.1985, allocations: 4.16 MB / 418.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002141/0.2007, allocations: 0.6445 MB / 419.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003603/0.2043, allocations: 0.937 MB / 420.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002629/0.2069, allocations: 1.838 MB / 422.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003031/0.21, allocations: 2.04 MB / 424.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1913/0.4013, allocations: 18.94 MB / 443.3 MB, free: 19.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4013, allocations: 0 / 443.3 MB, free: 19.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.4013, allocations: 0 / 443.3 MB, free: 19.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005672/0.4019, allocations: 4.344 kB / 443.3 MB, free: 19.38 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.0295/0.4314, allocations: 10.72 MB / 454 MB, free: 14.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4315, allocations: 8.906 kB / 454 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03348/0.4649, allocations: 6.102 MB / 460.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01398/0.479, allocations: 6.672 MB / 466.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000675/0.4797, allocations: 0.6982 MB / 467.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004643/0.4843, allocations: 0.9171 MB / 468.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03494/0.5193, allocations: 15.62 MB / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002433/0.5196, allocations: 7.906 kB / 484.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001714/0.5213, allocations: 391 kB / 484.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004093/0.5217, allocations: 0.5487 MB / 485 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02704/0.5487, allocations: 14.72 MB / 499.7 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08548/0.6342, allocations: 51.69 MB / 0.5385 GB, free: 2.645 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02362/0.6579, allocations: 26.44 MB / 0.5643 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000533/0.6585, allocations: 177.5 kB / 0.5645 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/0.6586, allocations: 77.36 kB / 0.5645 GB, free: 4.906 MB / 446.1 MB Notification: Performance of pre-optimization done (n=404): time 5.961e-06/0.6586, allocations: 0 / 0.5645 GB, free: 4.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=410): time 0.03867/0.6973, allocations: 17.61 MB / 0.5817 GB, free: 3.191 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.6974, allocations: 90.59 kB / 0.5818 GB, free: 3.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.194/0.8914, allocations: 3.65 MB / 0.5854 GB, free: 151.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007771/0.8922, allocations: 91.3 kB / 0.5855 GB, free: 151.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002646/0.8948, allocations: 3.976 MB / 0.5894 GB, free: 149.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00157/0.8964, allocations: 1.398 MB / 0.5907 GB, free: 148.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004037/0.8968, allocations: 117.6 kB / 0.5908 GB, free: 148.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003015/0.8971, allocations: 0.5426 MB / 0.5914 GB, free: 148.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004148/0.9013, allocations: 2.831 MB / 0.5941 GB, free: 147.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00464/0.9059, allocations: 4.966 MB / 0.599 GB, free: 143.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005283/0.9112, allocations: 3.989 MB / 0.6029 GB, free: 141.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-05/0.9113, allocations: 23.28 kB / 0.6029 GB, free: 141.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01364/0.925, allocations: 9.139 MB / 0.6118 GB, free: 138.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/0.9251, allocations: 37.31 kB / 0.6119 GB, free: 138.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/0.9252, allocations: 70.25 kB / 0.6119 GB, free: 138.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002835/0.928, allocations: 1.202 MB / 0.6131 GB, free: 137.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004686/0.9327, allocations: 1.332 MB / 0.6144 GB, free: 137.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/0.9449, allocations: 9.36 MB / 0.6235 GB, free: 131.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00465/0.9495, allocations: 337.7 kB / 0.6239 GB, free: 131.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008991/0.9505, allocations: 287.5 kB / 0.6241 GB, free: 130.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005702/0.9562, allocations: 3.704 MB / 0.6277 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008384/0.957, allocations: 402.9 kB / 0.6281 GB, free: 127.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009691/0.9667, allocations: 6.789 MB / 0.6348 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007305/0.9741, allocations: 5.666 MB / 0.6403 GB, free: 116.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.9741, allocations: 12 kB / 0.6403 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.004e-05/0.9741, allocations: 19.92 kB / 0.6403 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02331/0.9975, allocations: 16.18 MB / 0.6561 GB, free: 99.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.9975, allocations: 9.875 kB / 0.6561 GB, free: 99.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/1, allocations: 0.7294 MB / 0.6568 GB, free: 99.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00265/1.003, allocations: 1.078 MB / 0.6579 GB, free: 98.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003328/1.003, allocations: 87.98 kB / 0.658 GB, free: 98.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009813/1.013, allocations: 8.315 MB / 0.6661 GB, free: 89.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/1.013, allocations: 4 kB / 0.6661 GB, free: 89.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01198/1.025, allocations: 10.44 MB / 0.6763 GB, free: 78.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00226/1.027, allocations: 0.9721 MB / 0.6772 GB, free: 77.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006634/1.028, allocations: 84 kB / 0.6773 GB, free: 77.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/1.03, allocations: 215.8 kB / 0.6775 GB, free: 77.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004881/1.03, allocations: 283.2 kB / 0.6778 GB, free: 77.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002208/1.031, allocations: 124 kB / 0.6779 GB, free: 77.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003214/1.034, allocations: 2.456 MB / 0.6803 GB, free: 74.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.034, allocations: 0 / 0.6803 GB, free: 74.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005615/1.039, allocations: 1.61 MB / 0.6819 GB, free: 73.24 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005512/1.04, allocations: 283 kB / 0.6822 GB, free: 72.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009789/1.05, allocations: 7.203 MB / 0.6892 GB, free: 65.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.05, allocations: 0 / 0.6892 GB, free: 65.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005122/1.055, allocations: 3.433 MB / 0.6926 GB, free: 62.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00395/1.059, allocations: 0.8602 MB / 0.6934 GB, free: 61.47 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.024/1.083, allocations: 19.68 MB / 0.7126 GB, free: 41.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004966/1.088, allocations: 6.342 MB / 0.7188 GB, free: 35.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005038/1.093, allocations: 1.912 MB / 0.7207 GB, free: 33.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009232/1.094, allocations: 340.7 kB / 0.721 GB, free: 33.05 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/1.094, allocations: 0 / 0.721 GB, free: 33.05 MB / 462.1 MB Notification: Performance of Templates: time 0.2881/1.382, allocations: 64.26 MB / 0.7837 GB, free: 138.3 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches