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.001668/0.001668, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001352/0.001352, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.341/1.341, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 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: "" <> 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 47.91 kB / 378.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2385, allocations: 53.37 MB / 431.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02532/0.2638, allocations: 21.35 MB / 453.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.2791, allocations: 7.15 MB / 460.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004209/0.2833, allocations: 222.9 kB / 460.6 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02003/0.3034, allocations: 8.221 MB / 468.8 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.3136, allocations: 2.973 MB / 471.8 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005735/0.3193, allocations: 1.724 MB / 473.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01767/0.337, allocations: 10.93 MB / 484.5 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0291/0.3661, allocations: 14.36 MB / 498.8 MB, free: 3.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01049/0.3766, allocations: 5.876 MB / 0.4929 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01255/0.3891, allocations: 6.37 MB / 0.4991 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00473/0.3939, allocations: 1.672 MB / 0.5007 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006428/0.4003, allocations: 2.058 MB / 0.5027 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005042/0.4053, allocations: 3.16 MB / 0.5058 GB, free: 212 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009476/0.4148, allocations: 4.713 MB / 0.5104 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02794/0.4427, allocations: 22.49 MB / 0.5324 GB, free: 4.922 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4427, allocations: 0 / 0.5324 GB, free: 4.922 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4427, allocations: 3.938 kB / 0.5324 GB, free: 4.918 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005587/0.4433, allocations: 4 kB / 0.5324 GB, free: 4.914 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.4271/0.8704, allocations: 12.88 MB / 0.545 GB, free: 89.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.8704, allocations: 11.91 kB / 0.545 GB, free: 89.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003386/0.8708, allocations: 289.6 kB / 0.5453 GB, free: 89.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004237/0.875, allocations: 1.545 MB / 0.5468 GB, free: 88.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03105/0.9061, allocations: 6.183 MB / 0.5528 GB, free: 82.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01226/0.9183, allocations: 7.008 MB / 0.5597 GB, free: 75.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005425/0.9189, allocations: 0.6943 MB / 0.5603 GB, free: 74.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003397/0.9223, allocations: 0.9211 MB / 0.5612 GB, free: 73.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03204/0.9543, allocations: 15.94 MB / 0.5768 GB, free: 57.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004299/0.9547, allocations: 15.94 kB / 0.5768 GB, free: 57.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003303/0.958, allocations: 387.2 kB / 0.5772 GB, free: 57.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005091/0.9586, allocations: 0.5548 MB / 0.5777 GB, free: 56.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02704/0.9856, allocations: 14.81 MB / 0.5922 GB, free: 42.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07219/1.058, allocations: 45.75 MB / 0.6369 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/1.076, allocations: 9.226 MB / 0.6459 GB, free: 3.828 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005365/1.081, allocations: 2.937 MB / 0.6488 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005109/1.082, allocations: 106.9 kB / 0.6489 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.513e-05/1.082, allocations: 73.7 kB / 0.6489 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of pre-optimization done (n=400): time 7.865e-06/1.082, allocations: 0 / 0.6489 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of matching and sorting (n=467): time 0.06718/1.149, allocations: 26.89 MB / 0.6752 GB, free: 5.832 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/1.149, allocations: 99.06 kB / 0.6753 GB, free: 5.723 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006038/1.155, allocations: 3.697 MB / 0.6789 GB, free: 2.027 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005171/1.156, allocations: 97.7 kB / 0.679 GB, free: 1.926 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003195/1.159, allocations: 4.135 MB / 0.683 GB, free: 13.75 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001914/1.161, allocations: 1.658 MB / 0.6846 GB, free: 12.07 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002329/1.163, allocations: 1.236 MB / 0.6858 GB, free: 10.83 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.163, allocations: 305.1 kB / 0.6861 GB, free: 10.53 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005089/1.169, allocations: 3.206 MB / 0.6893 GB, free: 7.316 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006799/1.175, allocations: 5.422 MB / 0.6946 GB, free: 0.8984 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0138/1.189, allocations: 9.25 MB / 0.7036 GB, free: 6.66 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001186/1.189, allocations: 20 kB / 0.7036 GB, free: 6.641 MB / 0.5138 GB Notification: Performance of matching and sorting (n=815) (initialization): time 0.02546/1.215, allocations: 10.96 MB / 0.7143 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/1.215, allocations: 39.94 kB / 0.7144 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001334/1.215, allocations: 68 kB / 0.7144 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007301/1.222, allocations: 2.45 MB / 0.7168 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005191/1.227, allocations: 1.342 MB / 0.7181 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03472/1.262, allocations: 20.14 MB / 0.7378 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004584/1.267, allocations: 347.5 kB / 0.7381 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/1.268, allocations: 307.9 kB / 0.7384 GB, free: 2.727 MB / 0.545 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 (700): * Single equations (assignments): 697 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,44,41.8%), (14,44,39.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007012/1.275, allocations: 3.779 MB / 0.7421 GB, free: 14.93 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/1.276, allocations: 445.2 kB / 0.7425 GB, free: 14.49 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/1.293, allocations: 8.574 MB / 0.7509 GB, free: 5.891 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2512/1.544, allocations: 7.35 MB / 0.7581 GB, free: 194.3 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-05/1.544, allocations: 26.75 kB / 0.7581 GB, free: 194.3 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001391/1.545, allocations: 25.3 kB / 0.7581 GB, free: 194.3 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02861/1.573, allocations: 18.23 MB / 0.7759 GB, free: 188.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/1.573, allocations: 3.938 kB / 0.7759 GB, free: 188.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002654/1.576, allocations: 0.7428 MB / 0.7767 GB, free: 188.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005478/1.581, allocations: 2.193 MB / 0.7788 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004658/1.582, allocations: 103.1 kB / 0.7789 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01927/1.601, allocations: 16.87 MB / 0.7954 GB, free: 177.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.601, allocations: 7.938 kB / 0.7954 GB, free: 177.4 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/1.618, allocations: 12.35 MB / 0.8075 GB, free: 165.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002692/1.621, allocations: 1.044 MB / 0.8085 GB, free: 164.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008313/1.621, allocations: 88 kB / 0.8086 GB, free: 164.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/1.624, allocations: 213.5 kB / 0.8088 GB, free: 164.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007736/1.625, allocations: 363.9 kB / 0.8091 GB, free: 164.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002687/1.625, allocations: 144 kB / 0.8092 GB, free: 164 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003012/1.628, allocations: 2.491 MB / 0.8117 GB, free: 161.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.1e-07/1.628, allocations: 3.969 kB / 0.8117 GB, free: 161.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.005406/1.633, allocations: 1.791 MB / 0.8134 GB, free: 159.8 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (imcQS.stator.stray.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 (401): * Single equations (assignments): 398 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,38,41.8%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01589/1.649, allocations: 13.09 MB / 0.8262 GB, free: 146.7 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.661, allocations: 8.538 MB / 0.8346 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.661, allocations: 4 kB / 0.8346 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006579/1.668, allocations: 4.316 MB / 0.8388 GB, free: 133.8 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004269/1.672, allocations: 1.011 MB / 0.8398 GB, free: 132.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0835/1.755, allocations: 59.9 MB / 0.8983 GB, free: 70.5 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01276/1.768, allocations: 5.889 MB / 0.904 GB, free: 64.56 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007355/1.776, allocations: 1.933 MB / 0.9059 GB, free: 62.62 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007156/1.783, allocations: 3.37 MB / 0.9092 GB, free: 59.25 MB / 0.5607 GB Notification: Performance of SimCode: time 1.452e-06/1.783, allocations: 0 / 0.9092 GB, free: 59.25 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3758/2.159, allocations: 150.6 MB / 1.056 GB, free: 118.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.59/22.75, allocations: 14.62 kB / 1.056 GB, free: 118.5 MB / 0.5607 GB " [Timeout remaining time 637] (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: 26.17618743609637]