Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00082/0.00082, allocations: 88.28 kB / 21.44 MB, free: 3.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003399/0.003399, allocations: 153.5 kB / 24.69 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8868/0.8868, allocations: 177 MB / 204.9 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.38e-05/3.556e-05, allocations: 2.281 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01665/0.01669, allocations: 21.39 MB / 347.2 MB, free: 9.883 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01407/0.03075, allocations: 7.177 MB / 354.4 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006188/0.03694, allocations: 226.8 kB / 354.6 MB, free: 2.461 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.04878, allocations: 8.663 MB / 363.3 MB, free: 9.773 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009249/0.05802, allocations: 3.017 MB / 366.3 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00431/0.06233, allocations: 1.736 MB / 368 MB, free: 5.016 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01341/0.07575, allocations: 11.28 MB / 379.3 MB, free: 9.703 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02162/0.09737, allocations: 14.21 MB / 393.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01351/0.1109, allocations: 8.612 MB / 402.1 MB, free: 2.727 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00882/0.1197, allocations: 5.45 MB / 407.6 MB, free: 13.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003979/0.1237, allocations: 1.668 MB / 409.2 MB, free: 11.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005495/0.1292, allocations: 2.065 MB / 411.3 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004638/0.1338, allocations: 3.222 MB / 414.5 MB, free: 6.301 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008437/0.1423, allocations: 4.074 MB / 418.6 MB, free: 2.219 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02257/0.1648, allocations: 22.72 MB / 441.3 MB, free: 11.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.1648, allocations: 0 / 441.3 MB, free: 11.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1648, allocations: 0 / 441.3 MB, free: 11.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00068/0.1655, allocations: 4 kB / 441.3 MB, free: 11.44 MB / 410.7 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.3524/0.5179, allocations: 12.78 MB / 454.1 MB, free: 101.4 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.518, allocations: 14.75 kB / 454.1 MB, free: 101.4 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01924/0.5372, allocations: 6.192 MB / 460.3 MB, free: 100.2 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.5479, allocations: 7.012 MB / 467.3 MB, free: 93.69 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004272/0.5484, allocations: 0.694 MB / 468 MB, free: 93 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003491/0.5519, allocations: 0.9215 MB / 468.9 MB, free: 92.09 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02937/0.5812, allocations: 15.93 MB / 484.9 MB, free: 76.09 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002435/0.5815, allocations: 7.953 kB / 484.9 MB, free: 76.08 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002178/0.5836, allocations: 391.5 kB / 485.3 MB, free: 75.71 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003108/0.584, allocations: 0.5547 MB / 485.8 MB, free: 75.15 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02348/0.6074, allocations: 14.74 MB / 0.4888 GB, free: 60.39 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06019/0.6676, allocations: 44.09 MB / 0.5319 GB, free: 16.02 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009306/0.6769, allocations: 9.194 MB / 0.5409 GB, free: 7.867 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002862/0.6798, allocations: 2.926 MB / 0.5437 GB, free: 4.941 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002302/0.68, allocations: 99.03 kB / 0.5438 GB, free: 4.844 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.6801, allocations: 73.69 kB / 0.5439 GB, free: 4.762 MB / 410.8 MB Notification: Performance of pre-optimization done (n=398): time 6.663e-06/0.6801, allocations: 7.922 kB / 0.5439 GB, free: 4.754 MB / 410.8 MB Notification: Performance of matching and sorting (n=404): time 0.02864/0.7087, allocations: 17.07 MB / 0.5606 GB, free: 3.801 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.7088, allocations: 94.58 kB / 0.5606 GB, free: 3.695 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003877/0.7127, allocations: 3.592 MB / 0.5642 GB, free: 92 kB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005819/0.7132, allocations: 88.12 kB / 0.5642 GB, free: 0 / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002143/0.7154, allocations: 4.128 MB / 0.5683 GB, free: 11.86 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001289/0.7167, allocations: 1.422 MB / 0.5697 GB, free: 10.46 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001242/0.7179, allocations: 1.144 MB / 0.5708 GB, free: 9.305 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.958e-05/0.718, allocations: 309.1 kB / 0.5711 GB, free: 9 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003196/0.7212, allocations: 2.791 MB / 0.5738 GB, free: 6.203 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004105/0.7253, allocations: 4.982 MB / 0.5787 GB, free: 224 kB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00823/0.7335, allocations: 8.314 MB / 0.5868 GB, free: 6.906 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.287e-05/0.7336, allocations: 24 kB / 0.5868 GB, free: 6.883 MB / 458.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01308/0.7467, allocations: 9.041 MB / 0.5956 GB, free: 13.82 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.7467, allocations: 36 kB / 0.5957 GB, free: 13.79 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/0.7468, allocations: 72 kB / 0.5957 GB, free: 13.71 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/0.7489, allocations: 1.192 MB / 0.5969 GB, free: 12.52 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/0.7523, allocations: 1.33 MB / 0.5982 GB, free: 11.19 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009887/0.7621, allocations: 9.452 MB / 0.6074 GB, free: 1.637 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/0.7654, allocations: 339.5 kB / 0.6078 GB, free: 1.305 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007765/0.7662, allocations: 291.9 kB / 0.608 GB, free: 1.02 MB / 474.8 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 (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.005944/0.7721, allocations: 3.704 MB / 0.6116 GB, free: 13.31 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/0.7734, allocations: 397.4 kB / 0.612 GB, free: 12.92 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008009/0.7814, allocations: 6.617 MB / 0.6185 GB, free: 6.266 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006353/0.7877, allocations: 5.552 MB / 0.6239 GB, free: 0.6914 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.7877, allocations: 8 kB / 0.6239 GB, free: 0.6836 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.833e-05/0.7878, allocations: 23.92 kB / 0.6239 GB, free: 0.6602 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2064/0.9942, allocations: 13.44 MB / 0.6371 GB, free: 159.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.9942, allocations: 3.906 kB / 0.6371 GB, free: 159.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.9955, allocations: 0.7311 MB / 0.6378 GB, free: 159.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/0.9971, allocations: 1.076 MB / 0.6388 GB, free: 159.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/0.9973, allocations: 98.61 kB / 0.6389 GB, free: 159.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006897/1.004, allocations: 8.422 MB / 0.6472 GB, free: 154.6 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.004, allocations: 6.594 kB / 0.6472 GB, free: 154.6 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008884/1.013, allocations: 9.778 MB / 0.6567 GB, free: 147.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001646/1.015, allocations: 0.8984 MB / 0.6576 GB, free: 147.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003382/1.015, allocations: 76 kB / 0.6577 GB, free: 147.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009576/1.016, allocations: 194.6 kB / 0.6578 GB, free: 147.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004371/1.016, allocations: 306 kB / 0.6581 GB, free: 146.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/1.017, allocations: 130.3 kB / 0.6583 GB, free: 146.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002224/1.019, allocations: 2.329 MB / 0.6605 GB, free: 144.9 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.8e-07/1.019, allocations: 3.219 kB / 0.6605 GB, free: 144.9 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.003887/1.023, allocations: 1.607 MB / 0.6621 GB, free: 143.3 MB / 490.8 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 (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.0004865/1.023, allocations: 269.3 kB / 0.6624 GB, free: 143 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.00676/1.03, allocations: 6.845 MB / 0.6691 GB, free: 136.9 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.03, allocations: 4 kB / 0.6691 GB, free: 136.9 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003069/1.033, allocations: 3.157 MB / 0.6721 GB, free: 133.8 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/1.036, allocations: 0.8738 MB / 0.673 GB, free: 132.9 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/1.054, allocations: 16.31 MB / 0.6889 GB, free: 116.6 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003371/1.057, allocations: 5.557 MB / 0.6943 GB, free: 111 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/1.059, allocations: 396.4 kB / 0.6947 GB, free: 110.6 MB / 490.8 MB Notification: Performance of SimCode: time 1.913e-06/1.059, allocations: 0 / 0.6947 GB, free: 110.6 MB / 490.8 MB Notification: Performance of Templates: time 0.2968/1.355, allocations: 161.9 MB / 0.8528 GB, free: 153.4 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 11.911015899851918]