Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.001258/0.001258, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001299/0.001299, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.328/1.328, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 47.91 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2286, allocations: 53.36 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01536/0.2439, allocations: 13.63 MB / 445.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008082/0.252, allocations: 4.568 MB / 450.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.2533, allocations: 95.44 kB / 450.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.2556, allocations: 1.041 MB / 451.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.2585, allocations: 1.332 MB / 452.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.2602, allocations: 0.9073 MB / 453.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004129/0.2643, allocations: 4.077 MB / 457.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002367/0.2667, allocations: 1.789 MB / 459.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.2691, allocations: 1.943 MB / 461.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002982/0.2721, allocations: 2.285 MB / 463.6 MB, free: 7.012 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006723/0.2727, allocations: 0.5078 MB / 464.1 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.274, allocations: 0.7341 MB / 464.8 MB, free: 5.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001/0.275, allocations: 1.141 MB / 466 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002228/0.2772, allocations: 2.139 MB / 468.1 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007704/0.2849, allocations: 6.813 MB / 474.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2849, allocations: 0 / 474.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2849, allocations: 4 kB / 474.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001046/0.2851, allocations: 0 / 474.9 MB, free: 11.64 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01064/0.2957, allocations: 4.451 MB / 479.4 MB, free: 7.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.2957, allocations: 16.02 kB / 479.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.698e-05/0.2958, allocations: 86.45 kB / 479.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005752/0.2964, allocations: 443.1 kB / 479.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004409/0.3008, allocations: 0.8456 MB / 480.8 MB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004323/0.3051, allocations: 2.452 MB / 483.2 MB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.3053, allocations: 238.2 kB / 483.5 MB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004758/0.3058, allocations: 319.9 kB / 483.8 MB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006706/0.3125, allocations: 4.273 MB / 488 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-05/0.3126, allocations: 3.953 kB / 488 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002875/0.3128, allocations: 128 kB / 488.2 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001427/0.313, allocations: 142.2 kB / 488.3 MB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005858/0.3188, allocations: 3.663 MB / 492 MB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01899/0.3378, allocations: 13.12 MB / 0.4933 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004938/0.3428, allocations: 2.61 MB / 0.4958 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002185/0.345, allocations: 1.309 MB / 0.4971 GB, free: 9.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005442/0.3504, allocations: 3.41 MB / 0.5004 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.3504, allocations: 51.5 kB / 0.5005 GB, free: 5.652 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.414e-06/0.3504, allocations: 0 / 0.5005 GB, free: 5.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01245/0.3629, allocations: 6.087 MB / 0.5064 GB, free: 15.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.3629, allocations: 68.7 kB / 0.5065 GB, free: 15.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/0.3654, allocations: 1.888 MB / 0.5083 GB, free: 13.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-05/0.3655, allocations: 45.7 kB / 0.5084 GB, free: 13.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.3666, allocations: 1.475 MB / 0.5098 GB, free: 12.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.367, allocations: 0.519 MB / 0.5103 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004771/0.3675, allocations: 303.5 kB / 0.5106 GB, free: 11.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3676, allocations: 309.1 kB / 0.5109 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.3689, allocations: 0.7574 MB / 0.5116 GB, free: 10.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.3704, allocations: 1.232 MB / 0.5128 GB, free: 8.703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002955/0.3734, allocations: 2.108 MB / 0.5149 GB, free: 6.406 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.3734, allocations: 7.938 kB / 0.5149 GB, free: 6.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004399/0.3778, allocations: 2.66 MB / 0.5175 GB, free: 3.723 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.3778, allocations: 12 kB / 0.5175 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.3778, allocations: 12 kB / 0.5175 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.3791, allocations: 0.5062 MB / 0.518 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.3806, allocations: 387.4 kB / 0.5184 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00855/0.3891, allocations: 6.735 MB / 0.525 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.3902, allocations: 71.92 kB / 0.525 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.3903, allocations: 75.98 kB / 0.5251 GB, free: 11.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00164/0.3919, allocations: 1.052 MB / 0.5261 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.3922, allocations: 210.8 kB / 0.5263 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004143/0.3964, allocations: 2.33 MB / 0.5286 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.3964, allocations: 19.94 kB / 0.5286 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.3964, allocations: 8 kB / 0.5286 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.3964, allocations: 15.91 kB / 0.5287 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008218/0.4046, allocations: 5.351 MB / 0.5339 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.4046, allocations: 4 kB / 0.5339 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009509/0.4056, allocations: 211.7 kB / 0.5341 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.4068, allocations: 0.4961 MB / 0.5346 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-05/0.4069, allocations: 35.98 kB / 0.5346 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1921/0.599, allocations: 10.91 MB / 0.5453 GB, free: 92.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.599, allocations: 4.547 kB / 0.5453 GB, free: 92.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00471/0.6038, allocations: 3.413 MB / 0.5486 GB, free: 91.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000837/0.6046, allocations: 401 kB / 0.549 GB, free: 91.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.6048, allocations: 33.34 kB / 0.549 GB, free: 91.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008566/0.6057, allocations: 61.03 kB / 0.5491 GB, free: 91.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/0.6059, allocations: 127.2 kB / 0.5492 GB, free: 91.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/0.606, allocations: 40.3 kB / 0.5492 GB, free: 91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001431/0.6074, allocations: 1.305 MB / 0.5505 GB, free: 90.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6074, allocations: 0 / 0.5505 GB, free: 90.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001634/0.609, allocations: 0.5928 MB / 0.5511 GB, free: 90.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004349/0.6134, allocations: 4.023 MB / 0.555 GB, free: 88.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003144/0.6165, allocations: 2.321 MB / 0.5573 GB, free: 87.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6165, allocations: 0 / 0.5573 GB, free: 87.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.6184, allocations: 1.666 MB / 0.5589 GB, free: 86.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.6204, allocations: 0.5387 MB / 0.5594 GB, free: 86.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02402/0.6445, allocations: 21.38 MB / 0.5803 GB, free: 65.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/0.6459, allocations: 2.383 MB / 0.5826 GB, free: 63.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001058/0.647, allocations: 417 kB / 0.583 GB, free: 63.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.648, allocations: 1.163 MB / 0.5842 GB, free: 61.92 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.648, allocations: 0 / 0.5842 GB, free: 61.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08175/0.7298, allocations: 57.54 MB / 0.6404 GB, free: 4.871 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/15.59, allocations: 11.08 kB / 0.6404 GB, free: 4.863 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 23.171002087008674]