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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 113 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 190.9 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 51.92 kB / 366.8 MB, free: 320 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1172, allocations: 52.14 MB / 419 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.03238/0.1496, allocations: 24.87 MB / 443.9 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2454/0.395, allocations: 7.364 MB / 451.2 MB, free: 8.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004789/0.3998, allocations: 184.3 kB / 451.4 MB, free: 8.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01931/0.4191, allocations: 8.884 MB / 460.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.4299, allocations: 2.967 MB / 463.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005611/0.4356, allocations: 1.72 MB / 465 MB, free: 6.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01353/0.4491, allocations: 10.73 MB / 475.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02739/0.4765, allocations: 16.63 MB / 492.3 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009718/0.4862, allocations: 5.734 MB / 498.1 MB, free: 4.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01113/0.4973, allocations: 6.308 MB / 0.4925 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004361/0.5017, allocations: 1.668 MB / 0.4942 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006751/0.5084, allocations: 2.033 MB / 0.4962 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004495/0.5129, allocations: 3.165 MB / 0.4992 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01056/0.5235, allocations: 6.095 MB / 0.5052 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02752/0.551, allocations: 22.37 MB / 0.527 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.551, allocations: 0 / 0.527 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.551, allocations: 0 / 0.527 GB, free: 11.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005277/0.5515, allocations: 0 / 0.527 GB, free: 11.01 MB / 430.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.03798/0.5895, allocations: 12.94 MB / 0.5397 GB, free: 14.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.5896, allocations: 8.031 kB / 0.5397 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03821/0.6278, allocations: 6.243 MB / 0.5458 GB, free: 7.863 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02156/0.6493, allocations: 6.932 MB / 0.5526 GB, free: 0.918 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009444/0.6503, allocations: 0.6972 MB / 0.5532 GB, free: 236 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005469/0.6558, allocations: 0.9269 MB / 0.5541 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0418/0.6976, allocations: 15.74 MB / 0.5695 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003704/0.6979, allocations: 15.88 kB / 0.5695 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003313/0.7012, allocations: 391.4 kB / 0.5699 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006602/0.7019, allocations: 0.5547 MB / 0.5704 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03287/0.7348, allocations: 14.77 MB / 0.5849 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5352/1.27, allocations: 51.11 MB / 0.6348 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02285/1.293, allocations: 26.06 MB / 0.6602 GB, free: 112.1 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005493/1.298, allocations: 2.931 MB / 0.6631 GB, free: 112 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004118/1.299, allocations: 165.5 kB / 0.6633 GB, free: 111.9 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/1.299, allocations: 79.81 kB / 0.6633 GB, free: 111.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 6.291e-06/1.299, allocations: 0 / 0.6633 GB, free: 111.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=404): time 0.03919/1.338, allocations: 17.37 MB / 0.6803 GB, free: 110.4 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/1.338, allocations: 94.17 kB / 0.6804 GB, free: 110.3 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005573/1.344, allocations: 3.697 MB / 0.684 GB, free: 109.8 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008663/1.344, allocations: 89.58 kB / 0.6841 GB, free: 109.7 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002489/1.347, allocations: 4.129 MB / 0.6881 GB, free: 107.1 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001647/1.349, allocations: 1.446 MB / 0.6895 GB, free: 106 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001683/1.35, allocations: 1.142 MB / 0.6906 GB, free: 105.4 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.937e-05/1.35, allocations: 301.1 kB / 0.6909 GB, free: 105.1 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00384/1.354, allocations: 2.803 MB / 0.6937 GB, free: 104 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004838/1.359, allocations: 4.951 MB / 0.6985 GB, free: 100.2 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009757/1.369, allocations: 8.31 MB / 0.7066 GB, free: 94.55 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.919e-05/1.369, allocations: 22.94 kB / 0.7066 GB, free: 94.54 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01744/1.386, allocations: 9.079 MB / 0.7155 GB, free: 90.09 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.932e-05/1.386, allocations: 39.38 kB / 0.7155 GB, free: 90.09 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/1.387, allocations: 70.5 kB / 0.7156 GB, free: 90.09 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003308/1.39, allocations: 1.227 MB / 0.7168 GB, free: 89.56 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004551/1.394, allocations: 1.323 MB / 0.7181 GB, free: 89.23 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/1.408, allocations: 9.925 MB / 0.7278 GB, free: 80.03 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/1.412, allocations: 335.6 kB / 0.7281 GB, free: 79.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/1.413, allocations: 280 kB / 0.7284 GB, free: 79.43 MB / 0.5138 GB 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006868/1.42, allocations: 3.706 MB / 0.732 GB, free: 75.71 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001539/1.422, allocations: 425.2 kB / 0.7324 GB, free: 75.29 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/1.434, allocations: 6.651 MB / 0.7389 GB, free: 68.61 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0082/1.442, allocations: 5.564 MB / 0.7443 GB, free: 63.02 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/1.442, allocations: 15.88 kB / 0.7443 GB, free: 63.01 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-05/1.442, allocations: 19.92 kB / 0.7444 GB, free: 62.99 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02778/1.47, allocations: 15.72 MB / 0.7597 GB, free: 47.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/1.47, allocations: 8 kB / 0.7597 GB, free: 47.19 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002645/1.473, allocations: 0.7225 MB / 0.7604 GB, free: 46.47 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002767/1.476, allocations: 1.117 MB / 0.7615 GB, free: 45.34 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004172/1.476, allocations: 87.98 kB / 0.7616 GB, free: 45.26 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/1.486, allocations: 8.861 MB / 0.7703 GB, free: 36.28 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.486, allocations: 7.938 kB / 0.7703 GB, free: 36.27 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/1.499, allocations: 9.828 MB / 0.7799 GB, free: 26.32 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002749/1.502, allocations: 0.9745 MB / 0.7808 GB, free: 25.33 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007698/1.503, allocations: 80 kB / 0.7809 GB, free: 25.25 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.505, allocations: 203.8 kB / 0.7811 GB, free: 25.05 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005182/1.505, allocations: 283.3 kB / 0.7814 GB, free: 24.77 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/1.506, allocations: 124 kB / 0.7815 GB, free: 24.65 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003074/1.509, allocations: 2.487 MB / 0.7839 GB, free: 22.17 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8.1e-08/1.509, allocations: 0 / 0.7839 GB, free: 22.17 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.00602/1.515, allocations: 1.624 MB / 0.7855 GB, free: 20.55 MB / 0.5138 GB 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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007481/1.515, allocations: 278.6 kB / 0.7858 GB, free: 20.28 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009879/1.525, allocations: 6.865 MB / 0.7925 GB, free: 13.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.525, allocations: 0 / 0.7925 GB, free: 13.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.004879/1.53, allocations: 3.173 MB / 0.7956 GB, free: 10.23 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004407/1.535, allocations: 0.9704 MB / 0.7965 GB, free: 9.285 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02669/1.561, allocations: 16.35 MB / 0.8125 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007606/1.569, allocations: 5.999 MB / 0.8183 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/1.571, allocations: 387.4 kB / 0.8187 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/1.571, allocations: 0 / 0.8187 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of Templates: time 0.4009/1.972, allocations: 159.1 MB / 0.9741 GB, free: 59.07 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.8018735810183]