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.002139/0.002139, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.001895/0.001895, allocations: 149.5 kB / 24.26 MB, free: 168 kB / 18.57 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.589/1.589, allocations: 173.3 MB / 200.8 MB, free: 9.316 MB / 186.7 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 1.903e-06/1.903e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.265e-05/3.455e-05, allocations: 2.312 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1693/0.1694, allocations: 24.13 MB / 291.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01415/0.1835, allocations: 7.286 MB / 298.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005314/0.1888, allocations: 221.8 kB / 299 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02036/0.2092, allocations: 9.38 MB / 308.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.2195, allocations: 3.046 MB / 311.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004711/0.2242, allocations: 1.733 MB / 313.1 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01251/0.2367, allocations: 11.2 MB / 324.3 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02647/0.2631, allocations: 14.23 MB / 338.6 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02132/0.2845, allocations: 8.69 MB / 347.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01342/0.2979, allocations: 6.024 MB / 353.3 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005528/0.3034, allocations: 1.668 MB / 354.9 MB, free: 3.207 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008399/0.3118, allocations: 2.034 MB / 357 MB, free: 1.172 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006894/0.3187, allocations: 3.277 MB / 360.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01293/0.3316, allocations: 4.125 MB / 364.4 MB, free: 9.754 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03637/0.368, allocations: 22.83 MB / 387.2 MB, free: 2.863 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.368, allocations: 0 / 387.2 MB, free: 2.863 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.368, allocations: 0 / 387.2 MB, free: 2.863 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006726/0.3687, allocations: 4 kB / 387.2 MB, free: 2.859 MB / 330.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.05272/0.4214, allocations: 14.8 MB / 402 MB, free: 3.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.625e-05/0.4215, allocations: 12.92 kB / 402 MB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.043/0.4645, allocations: 7.834 MB / 409.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02003/0.4845, allocations: 6.7 MB / 416.6 MB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009845/0.4855, allocations: 0.6946 MB / 417.2 MB, free: 4.641 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004441/0.4899, allocations: 0.9295 MB / 418.2 MB, free: 3.711 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05377/0.5437, allocations: 16.2 MB / 434.4 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006055/0.5443, allocations: 15.94 kB / 434.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004232/0.5485, allocations: 388 kB / 434.8 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008771/0.5494, allocations: 0.5547 MB / 435.3 MB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3199/0.8693, allocations: 13.08 MB / 448.4 MB, free: 107.7 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1161/0.9854, allocations: 103.1 MB / 0.5385 GB, free: 9.625 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01725/1.003, allocations: 8.68 MB / 0.547 GB, free: 2.039 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004854/1.008, allocations: 2.481 MB / 0.5494 GB, free: 15.55 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005582/1.008, allocations: 103.1 kB / 0.5495 GB, free: 15.45 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/1.008, allocations: 80.52 kB / 0.5496 GB, free: 15.36 MB / 394.8 MB Notification: Performance of pre-optimization done (n=398): time 1.135e-05/1.008, allocations: 0 / 0.5496 GB, free: 15.36 MB / 394.8 MB Notification: Performance of matching and sorting (n=404): time 0.04768/1.056, allocations: 14.96 MB / 0.5642 GB, free: 0.75 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/1.056, allocations: 90.58 kB / 0.5643 GB, free: 0.6484 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/1.068, allocations: 5.24 MB / 0.5694 GB, free: 11.49 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007728/1.069, allocations: 93.7 kB / 0.5695 GB, free: 11.39 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005055/1.074, allocations: 4.645 MB / 0.5741 GB, free: 6.852 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002914/1.077, allocations: 1.6 MB / 0.5756 GB, free: 5.273 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005242/1.082, allocations: 1.526 MB / 0.5771 GB, free: 3.73 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0002589/1.082, allocations: 484.7 kB / 0.5776 GB, free: 3.254 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005599/1.088, allocations: 2.244 MB / 0.5798 GB, free: 1.004 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1779/1.266, allocations: 5.733 MB / 0.5854 GB, free: 113.1 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/1.277, allocations: 8.902 MB / 0.5941 GB, free: 109 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001762/1.277, allocations: 22.41 kB / 0.5941 GB, free: 109 MB / 410.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01511/1.292, allocations: 8.285 MB / 0.6022 GB, free: 108.3 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.483e-05/1.292, allocations: 36.91 kB / 0.6022 GB, free: 108.3 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/1.293, allocations: 68.03 kB / 0.6023 GB, free: 108.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004012/1.297, allocations: 1.391 MB / 0.6036 GB, free: 108.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004722/1.301, allocations: 1.318 MB / 0.6049 GB, free: 108.2 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/1.314, allocations: 10.13 MB / 0.6148 GB, free: 105.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004515/1.319, allocations: 331.3 kB / 0.6151 GB, free: 105.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/1.32, allocations: 286.5 kB / 0.6154 GB, free: 105.3 MB / 410.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.005461/1.325, allocations: 3.408 MB / 0.6187 GB, free: 103.5 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/1.327, allocations: 0.5201 MB / 0.6192 GB, free: 103.4 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009714/1.336, allocations: 5.669 MB / 0.6248 GB, free: 101.3 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006887/1.343, allocations: 4.665 MB / 0.6293 GB, free: 99.62 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/1.343, allocations: 7.469 kB / 0.6293 GB, free: 99.62 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.199e-05/1.343, allocations: 22.95 kB / 0.6294 GB, free: 99.62 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02766/1.371, allocations: 17.43 MB / 0.6464 GB, free: 85.71 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/1.371, allocations: 4.875 kB / 0.6464 GB, free: 85.71 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002701/1.374, allocations: 0.7216 MB / 0.6471 GB, free: 84.98 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003558/1.377, allocations: 1.254 MB / 0.6483 GB, free: 83.73 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003991/1.378, allocations: 87.98 kB / 0.6484 GB, free: 83.64 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/1.389, allocations: 9.105 MB / 0.6573 GB, free: 74.55 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.389, allocations: 7.938 kB / 0.6573 GB, free: 74.55 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/1.4, allocations: 8.222 MB / 0.6653 GB, free: 66.24 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002525/1.403, allocations: 0.8214 MB / 0.6661 GB, free: 65.42 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000795/1.404, allocations: 79.94 kB / 0.6662 GB, free: 65.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.406, allocations: 199.8 kB / 0.6664 GB, free: 65.15 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007473/1.407, allocations: 307.1 kB / 0.6667 GB, free: 64.85 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/1.407, allocations: 116 kB / 0.6668 GB, free: 64.73 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003507/1.41, allocations: 2.658 MB / 0.6694 GB, free: 62.08 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/1.41, allocations: 0 / 0.6694 GB, free: 62.08 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006223/1.417, allocations: 1.604 MB / 0.671 GB, free: 60.48 MB / 410.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.000763/1.417, allocations: 282.3 kB / 0.6712 GB, free: 60.21 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01059/1.428, allocations: 6.584 MB / 0.6777 GB, free: 53.59 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.428, allocations: 0 / 0.6777 GB, free: 53.59 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00525/1.433, allocations: 3.088 MB / 0.6807 GB, free: 50.48 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004562/1.438, allocations: 0.8902 MB / 0.6815 GB, free: 49.63 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/1.463, allocations: 15.57 MB / 0.6968 GB, free: 33.88 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007094/1.47, allocations: 5.232 MB / 0.7019 GB, free: 28.59 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00414/1.474, allocations: 1.61 MB / 0.7034 GB, free: 26.97 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009233/1.475, allocations: 340.4 kB / 0.7038 GB, free: 26.64 MB / 410.8 MB Notification: Performance of SimCode: time 2.094e-06/1.475, allocations: 0 / 0.7038 GB, free: 26.64 MB / 410.8 MB Notification: Performance of Templates: time 0.2525/1.728, allocations: 59.66 MB / 0.762 GB, free: 92.54 MB / 410.8 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.268249745946378]