Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007543/0.0007543, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002932/0.002932, allocations: 160 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8508/0.8508, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.293e-05, allocations: 2.281 kB / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01591/0.01593, allocations: 21.4 MB / 347.3 MB, free: 9.902 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.02908, allocations: 7.185 MB / 354.5 MB, free: 2.695 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004203/0.03328, allocations: 222.9 kB / 354.7 MB, free: 2.477 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009756/0.04304, allocations: 8.658 MB / 363.3 MB, free: 9.793 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007086/0.05013, allocations: 3.025 MB / 366.4 MB, free: 6.758 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.05286, allocations: 1.726 MB / 368.1 MB, free: 5.035 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01021/0.06307, allocations: 11.29 MB / 379.4 MB, free: 9.703 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01663/0.0797, allocations: 14.21 MB / 393.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00934/0.08904, allocations: 8.628 MB / 402.2 MB, free: 2.715 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005518/0.09456, allocations: 5.454 MB / 407.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001584/0.09614, allocations: 1.668 MB / 409.3 MB, free: 11.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.09864, allocations: 2.058 MB / 411.4 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.1003, allocations: 3.218 MB / 414.6 MB, free: 6.297 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003084/0.1034, allocations: 4.078 MB / 418.7 MB, free: 2.211 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01416/0.1175, allocations: 22.71 MB / 441.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1175, allocations: 4 kB / 441.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1175, allocations: 4 kB / 441.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003031/0.1178, allocations: 0 / 441.4 MB, free: 11.43 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.2884/0.4062, allocations: 12.77 MB / 454.2 MB, free: 101.3 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4062, allocations: 9.938 kB / 454.2 MB, free: 101.3 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01638/0.4226, allocations: 6.201 MB / 460.4 MB, free: 100.2 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008198/0.4308, allocations: 7.008 MB / 467.4 MB, free: 93.73 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.431, allocations: 0.6981 MB / 468.1 MB, free: 93.05 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.4321, allocations: 0.9201 MB / 469 MB, free: 92.14 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/0.4472, allocations: 15.93 MB / 484.9 MB, free: 76.14 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/0.4473, allocations: 15.89 kB / 485 MB, free: 76.12 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006092/0.4479, allocations: 391.2 kB / 485.3 MB, free: 75.75 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002591/0.4482, allocations: 0.5547 MB / 485.9 MB, free: 75.19 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/0.463, allocations: 14.73 MB / 0.4889 GB, free: 60.43 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0419/0.5049, allocations: 44.09 MB / 0.532 GB, free: 16.06 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008529/0.5134, allocations: 9.196 MB / 0.5409 GB, free: 7.918 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.5157, allocations: 2.934 MB / 0.5438 GB, free: 4.992 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/0.5159, allocations: 99.03 kB / 0.5439 GB, free: 4.895 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.516, allocations: 73.69 kB / 0.544 GB, free: 4.812 MB / 410.8 MB Notification: Performance of pre-optimization done (n=398): time 5.531e-06/0.516, allocations: 4 kB / 0.544 GB, free: 4.809 MB / 410.8 MB Notification: Performance of matching and sorting (n=404): time 0.022/0.538, allocations: 17.06 MB / 0.5606 GB, free: 3.863 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.538, allocations: 94.52 kB / 0.5607 GB, free: 3.758 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003896/0.5419, allocations: 3.596 MB / 0.5642 GB, free: 152 kB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.5421, allocations: 97.7 kB / 0.5643 GB, free: 48 kB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001937/0.544, allocations: 4.12 MB / 0.5684 GB, free: 11.92 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007266/0.5448, allocations: 1.422 MB / 0.5697 GB, free: 10.52 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.5459, allocations: 1.144 MB / 0.5709 GB, free: 9.359 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.476e-05/0.5459, allocations: 305.1 kB / 0.5712 GB, free: 9.059 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/0.5485, allocations: 2.791 MB / 0.5739 GB, free: 6.262 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003895/0.5524, allocations: 4.978 MB / 0.5787 GB, free: 288 kB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00708/0.5595, allocations: 8.322 MB / 0.5869 GB, free: 6.957 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.559e-05/0.5595, allocations: 20 kB / 0.5869 GB, free: 6.938 MB / 458.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.009913/0.5694, allocations: 9.041 MB / 0.5957 GB, free: 13.88 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/0.5694, allocations: 38.41 kB / 0.5958 GB, free: 13.84 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.197e-05/0.5695, allocations: 68 kB / 0.5958 GB, free: 13.77 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/0.5713, allocations: 1.196 MB / 0.597 GB, free: 12.57 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/0.5736, allocations: 1.322 MB / 0.5983 GB, free: 11.25 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009301/0.5829, allocations: 9.467 MB / 0.6075 GB, free: 1.688 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.5853, allocations: 335.5 kB / 0.6078 GB, free: 1.359 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/0.5856, allocations: 292 kB / 0.6081 GB, free: 1.074 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.005173/0.5908, allocations: 3.708 MB / 0.6117 GB, free: 13.35 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006819/0.5915, allocations: 401.4 kB / 0.6121 GB, free: 12.96 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007518/0.599, allocations: 6.609 MB / 0.6186 GB, free: 6.312 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005911/0.6049, allocations: 5.548 MB / 0.624 GB, free: 0.7422 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.6049, allocations: 8 kB / 0.624 GB, free: 0.7344 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.423e-05/0.6049, allocations: 23.92 kB / 0.624 GB, free: 0.7109 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2152/0.8202, allocations: 13.44 MB / 0.6372 GB, free: 159.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.8202, allocations: 5.469 kB / 0.6372 GB, free: 159.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/0.8221, allocations: 0.7325 MB / 0.6379 GB, free: 159.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002177/0.8243, allocations: 1.075 MB / 0.6389 GB, free: 159.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002219/0.8245, allocations: 94.75 kB / 0.639 GB, free: 159.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007525/0.832, allocations: 8.422 MB / 0.6472 GB, free: 154.6 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.832, allocations: 7.688 kB / 0.6472 GB, free: 154.6 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008531/0.8406, allocations: 9.783 MB / 0.6568 GB, free: 147.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/0.842, allocations: 0.8915 MB / 0.6577 GB, free: 147.4 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002913/0.8423, allocations: 78.31 kB / 0.6577 GB, free: 147.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009273/0.8432, allocations: 197.8 kB / 0.6579 GB, free: 147.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003384/0.8435, allocations: 305.6 kB / 0.6582 GB, free: 147 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/0.8437, allocations: 131.2 kB / 0.6584 GB, free: 146.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002359/0.846, allocations: 2.327 MB / 0.6606 GB, free: 144.9 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.71e-07/0.846, allocations: 0 / 0.6606 GB, free: 144.9 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004359/0.8504, allocations: 1.602 MB / 0.6622 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.0004816/0.8509, allocations: 277.6 kB / 0.6625 GB, free: 143.1 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.006675/0.8576, allocations: 6.846 MB / 0.6691 GB, free: 137 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.8576, allocations: 7.062 kB / 0.6691 GB, free: 137 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00281/0.8604, allocations: 3.164 MB / 0.6722 GB, free: 133.9 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/0.8625, allocations: 0.8663 MB / 0.6731 GB, free: 133 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/0.8794, allocations: 16.3 MB / 0.689 GB, free: 116.7 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003445/0.8828, allocations: 5.553 MB / 0.6944 GB, free: 111.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/0.884, allocations: 400.4 kB / 0.6948 GB, free: 110.7 MB / 490.8 MB Notification: Performance of SimCode: time 1.513e-06/0.884, allocations: 0 / 0.6948 GB, free: 110.7 MB / 490.8 MB Notification: Performance of Templates: time 0.2738/1.158, allocations: 161.8 MB / 0.8529 GB, free: 153.7 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 12.641179234720767]