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.001695/0.001695, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 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.00217/0.00217, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 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 1.564/1.564, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 47.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09916/0.1007, allocations: 53.32 MB / 426.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2256/0.3263, allocations: 24.89 MB / 451.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01999/0.3463, allocations: 7.486 MB / 458.7 MB, free: 6.566 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006522/0.3528, allocations: 223.1 kB / 458.9 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02334/0.3762, allocations: 8.892 MB / 467.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.3889, allocations: 2.957 MB / 470.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006062/0.3949, allocations: 1.734 MB / 472.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01631/0.4112, allocations: 10.83 MB / 483.3 MB, free: 6.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02767/0.4389, allocations: 16.59 MB / 499.9 MB, free: 7.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01074/0.4496, allocations: 5.826 MB / 0.4939 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01191/0.4615, allocations: 6.343 MB / 0.5001 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004956/0.4665, allocations: 1.676 MB / 0.5017 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008193/0.4747, allocations: 2.05 MB / 0.5037 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006126/0.4808, allocations: 3.168 MB / 0.5068 GB, free: 4.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01342/0.4942, allocations: 6.094 MB / 0.5128 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03431/0.5286, allocations: 22.4 MB / 0.5347 GB, free: 7.449 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.5286, allocations: 0 / 0.5347 GB, free: 7.449 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5286, allocations: 0 / 0.5347 GB, free: 7.449 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006408/0.5292, allocations: 0 / 0.5347 GB, free: 7.449 MB / 446.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.04597/0.5752, allocations: 12.96 MB / 0.5473 GB, free: 10.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.5752, allocations: 8.031 kB / 0.5473 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006364/0.5816, allocations: 1.548 MB / 0.5488 GB, free: 8.809 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03772/0.6193, allocations: 6.186 MB / 0.5549 GB, free: 2.613 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01624/0.6356, allocations: 6.946 MB / 0.5617 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009351/0.6365, allocations: 0.6985 MB / 0.5623 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003936/0.6404, allocations: 0.9218 MB / 0.5632 GB, free: 9.988 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04472/0.6852, allocations: 15.79 MB / 0.5787 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004538/0.6856, allocations: 15.94 kB / 0.5787 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003591/0.6892, allocations: 388 kB / 0.579 GB, free: 9.738 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007612/0.69, allocations: 0.5508 MB / 0.5796 GB, free: 9.184 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03597/0.7259, allocations: 14.81 MB / 0.594 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.502/1.228, allocations: 52.18 MB / 0.645 GB, free: 123.9 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02079/1.249, allocations: 26.1 MB / 0.6705 GB, free: 102.3 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005049/1.254, allocations: 2.942 MB / 0.6734 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004006/1.254, allocations: 274 kB / 0.6736 GB, free: 100.9 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/1.254, allocations: 76.84 kB / 0.6737 GB, free: 100.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 5.501e-06/1.254, allocations: 0 / 0.6737 GB, free: 100.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=404): time 0.03714/1.291, allocations: 17.42 MB / 0.6907 GB, free: 92.91 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/1.291, allocations: 98.61 kB / 0.6908 GB, free: 92.84 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004584/1.296, allocations: 3.702 MB / 0.6944 GB, free: 90.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005587/1.297, allocations: 88.64 kB / 0.6945 GB, free: 90.82 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001712/1.298, allocations: 4.129 MB / 0.6985 GB, free: 87.74 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001137/1.299, allocations: 1.445 MB / 0.6999 GB, free: 86.5 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001488/1.301, allocations: 1.162 MB / 0.7011 GB, free: 85.83 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.797e-05/1.301, allocations: 305.1 kB / 0.7014 GB, free: 85.53 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003503/1.304, allocations: 2.802 MB / 0.7041 GB, free: 84.01 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004144/1.309, allocations: 4.962 MB / 0.709 GB, free: 79.62 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008338/1.317, allocations: 8.325 MB / 0.7171 GB, free: 72.71 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.097e-05/1.317, allocations: 20 kB / 0.7171 GB, free: 72.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01385/1.331, allocations: 9.1 MB / 0.726 GB, free: 63.57 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/1.331, allocations: 36 kB / 0.726 GB, free: 63.54 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.451e-05/1.331, allocations: 75.94 kB / 0.7261 GB, free: 63.46 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00322/1.334, allocations: 1.227 MB / 0.7273 GB, free: 62.24 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004528/1.339, allocations: 1.326 MB / 0.7286 GB, free: 60.91 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/1.351, allocations: 9.918 MB / 0.7383 GB, free: 50.86 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004311/1.355, allocations: 327.6 kB / 0.7386 GB, free: 50.54 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007946/1.356, allocations: 292 kB / 0.7389 GB, free: 50.26 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.00508/1.361, allocations: 3.706 MB / 0.7425 GB, free: 46.54 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009566/1.362, allocations: 425.2 kB / 0.7429 GB, free: 46.12 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/1.372, allocations: 6.658 MB / 0.7494 GB, free: 39.43 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007904/1.38, allocations: 5.579 MB / 0.7548 GB, free: 33.82 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/1.38, allocations: 12 kB / 0.7549 GB, free: 33.81 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.203e-05/1.38, allocations: 23.92 kB / 0.7549 GB, free: 33.79 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02388/1.404, allocations: 15.76 MB / 0.7703 GB, free: 17.95 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/1.404, allocations: 12.06 kB / 0.7703 GB, free: 17.93 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/1.407, allocations: 0.7216 MB / 0.771 GB, free: 17.21 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002938/1.41, allocations: 1.113 MB / 0.7721 GB, free: 16.09 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004075/1.41, allocations: 95.95 kB / 0.7722 GB, free: 16 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/1.421, allocations: 8.864 MB / 0.7808 GB, free: 7.004 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.421, allocations: 11.94 kB / 0.7808 GB, free: 6.992 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/1.436, allocations: 9.855 MB / 0.7905 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00299/1.439, allocations: 0.9707 MB / 0.7914 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008268/1.44, allocations: 79.94 kB / 0.7915 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/1.442, allocations: 199.9 kB / 0.7917 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008165/1.443, allocations: 291.3 kB / 0.7919 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002985/1.443, allocations: 128 kB / 0.7921 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004833/1.448, allocations: 2.491 MB / 0.7945 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.448, allocations: 0 / 0.7945 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006899/1.455, allocations: 1.613 MB / 0.7961 GB, free: 7.25 MB / 0.5294 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.01917/1.474, allocations: 10.58 MB / 0.8064 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01473/1.489, allocations: 6.879 MB / 0.8131 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/1.489, allocations: 0 / 0.8131 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007325/1.496, allocations: 3.187 MB / 0.8162 GB, free: 2.473 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006591/1.503, allocations: 0.9647 MB / 0.8172 GB, free: 1.539 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.331/1.834, allocations: 54.27 MB / 0.8702 GB, free: 172.5 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007709/1.841, allocations: 6.19 MB / 0.8762 GB, free: 170.1 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004524/1.846, allocations: 1.915 MB / 0.8781 GB, free: 169.6 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004188/1.85, allocations: 3.319 MB / 0.8813 GB, free: 166.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.332e-06/1.85, allocations: 0 / 0.8813 GB, free: 166.6 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1788/2.029, allocations: 128.5 MB / 1.007 GB, free: 42.28 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.73/20.76, allocations: 14.44 kB / 1.007 GB, free: 42.27 MB / 0.5607 GB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/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/jenkins1/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: 23.897877780953422]