Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00143/0.00143, allocations: 103.1 kB / 19.75 MB, free: 2.656 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.001731/0.001731, allocations: 186.1 kB / 22.92 MB, free: 5.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 55.92 kB / 345.4 MB, free: 10.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3824, allocations: 49.11 MB / 394.6 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.03303/0.4154, allocations: 25.04 MB / 419.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02561/0.4411, allocations: 7.39 MB / 427 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008883/0.4499, allocations: 156.5 kB / 427.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02557/0.4755, allocations: 8.877 MB / 436 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01615/0.4917, allocations: 3.035 MB / 439 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008216/0.4999, allocations: 1.743 MB / 440.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02112/0.521, allocations: 10.9 MB / 451.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03796/0.559, allocations: 13.48 MB / 465.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01237/0.5713, allocations: 5.829 MB / 471 MB, free: 7.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01318/0.5845, allocations: 6.417 MB / 477.4 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005152/0.5897, allocations: 1.68 MB / 479.1 MB, free: 14.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007903/0.5976, allocations: 2.046 MB / 481.1 MB, free: 12.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006601/0.6042, allocations: 3.227 MB / 484.4 MB, free: 9.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01476/0.6189, allocations: 6.176 MB / 490.5 MB, free: 3.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03627/0.6552, allocations: 22.43 MB / 0.501 GB, free: 12.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.6552, allocations: 0 / 0.501 GB, free: 12.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6552, allocations: 0 / 0.501 GB, free: 12.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000642/0.6558, allocations: 0 / 0.501 GB, free: 12.98 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.05298/0.7088, allocations: 13.12 MB / 0.5138 GB, free: 15.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/0.7089, allocations: 12.03 kB / 0.5138 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04283/0.7517, allocations: 7.239 MB / 0.5209 GB, free: 8.484 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01865/0.7704, allocations: 6.182 MB / 0.5269 GB, free: 2.246 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001068/0.7714, allocations: 0.7105 MB / 0.5276 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005414/0.7768, allocations: 0.9335 MB / 0.5285 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05441/0.8313, allocations: 16.2 MB / 0.5443 GB, free: 344 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005819/0.8318, allocations: 11.95 kB / 0.5443 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004572/0.8364, allocations: 400 kB / 0.5447 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008276/0.8372, allocations: 0.5864 MB / 0.5453 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3151/1.152, allocations: 15.46 MB / 0.5604 GB, free: 131.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09311/1.245, allocations: 52.37 MB / 0.6115 GB, free: 98.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02098/1.266, allocations: 35.09 MB / 0.6458 GB, free: 63.76 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004573/1.271, allocations: 3.09 MB / 0.6488 GB, free: 60.76 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01437/1.285, allocations: 10.06 MB / 0.6586 GB, free: 50.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/1.285, allocations: 68.83 kB / 0.6587 GB, free: 50.63 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 4.619e-06/1.285, allocations: 0 / 0.6587 GB, free: 50.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.03016/1.316, allocations: 15.43 MB / 0.6738 GB, free: 35.08 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/1.316, allocations: 81.78 kB / 0.6738 GB, free: 34.99 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004946/1.321, allocations: 3.86 MB / 0.6776 GB, free: 31.14 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002586/1.321, allocations: 73.7 kB / 0.6777 GB, free: 31.06 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001769/1.323, allocations: 4.407 MB / 0.682 GB, free: 26.64 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006857/1.323, allocations: 1.111 MB / 0.6831 GB, free: 25.55 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/1.325, allocations: 1.1 MB / 0.6841 GB, free: 24.44 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.176e-05/1.325, allocations: 305.1 kB / 0.6844 GB, free: 24.14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002928/1.328, allocations: 2.56 MB / 0.6869 GB, free: 21.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003792/1.331, allocations: 4.908 MB / 0.6917 GB, free: 15.54 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006926/1.338, allocations: 7.942 MB / 0.6995 GB, free: 6.457 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.181e-05/1.338, allocations: 28 kB / 0.6995 GB, free: 6.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01285/1.351, allocations: 8.638 MB / 0.7079 GB, free: 13.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-05/1.351, allocations: 36 kB / 0.708 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/1.351, allocations: 80 kB / 0.708 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003527/1.355, allocations: 1.243 MB / 0.7093 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004656/1.36, allocations: 1.228 MB / 0.7105 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/1.377, allocations: 9.963 MB / 0.7202 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004851/1.382, allocations: 331.6 kB / 0.7205 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/1.383, allocations: 288 kB / 0.7208 GB, free: 464 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008596/1.391, allocations: 3.728 MB / 0.7244 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/1.393, allocations: 401.4 kB / 0.7248 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/1.406, allocations: 5.772 MB / 0.7304 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009902/1.416, allocations: 4.731 MB / 0.7351 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.383e-05/1.416, allocations: 8 kB / 0.7351 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.431e-05/1.416, allocations: 19.94 kB / 0.7351 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03158/1.448, allocations: 13.66 MB / 0.7484 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.729e-05/1.448, allocations: 8.391 kB / 0.7484 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002804/1.451, allocations: 0.5617 MB / 0.749 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003609/1.454, allocations: 1.113 MB / 0.7501 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004408/1.455, allocations: 71.98 kB / 0.7501 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01526/1.47, allocations: 8.849 MB / 0.7588 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.47, allocations: 4 kB / 0.7588 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01806/1.488, allocations: 8.49 MB / 0.7671 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2898/1.778, allocations: 0.8817 MB / 0.7679 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001435/1.779, allocations: 59.83 kB / 0.768 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/1.782, allocations: 180.8 kB / 0.7682 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008449/1.782, allocations: 228.8 kB / 0.7684 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002501/1.783, allocations: 93.17 kB / 0.7685 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005219/1.788, allocations: 2.586 MB / 0.771 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.788, allocations: 2.031 kB / 0.771 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007423/1.795, allocations: 1.552 MB / 0.7725 GB, free: 184.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (282): * Single equations (assignments): 280 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006955/1.796, allocations: 249.2 kB / 0.7728 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01172/1.808, allocations: 6.263 MB / 0.7789 GB, free: 183.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.808, allocations: 4.469 kB / 0.7789 GB, free: 183.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005504/1.813, allocations: 2.765 MB / 0.7816 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004322/1.818, allocations: 0.9476 MB / 0.7825 GB, free: 181.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/1.843, allocations: 16.48 MB / 0.7986 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005202/1.848, allocations: 6.235 MB / 0.8047 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004159/1.852, allocations: 1.873 MB / 0.8065 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007907/1.853, allocations: 306.4 kB / 0.8068 GB, free: 169 MB / 0.5294 GB Notification: Performance of SimCode: time 1.452e-06/1.853, allocations: 0 / 0.8068 GB, free: 169 MB / 0.5294 GB Notification: Performance of Templates: time 0.09109/1.944, allocations: 63.3 MB / 0.8686 GB, free: 109.4 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.076045920141041]