Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001791/0.001791, allocations: 114 kB / 20.44 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002387/0.002387, allocations: 204.7 kB / 23.74 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 230.5 MB / 257.4 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003092/0.003092, allocations: 59.84 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2979, allocations: 53.4 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01697/0.3149, allocations: 13.62 MB / 444.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009677/0.3246, allocations: 4.572 MB / 449.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002248/0.3268, allocations: 95.44 kB / 449.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003282/0.3301, allocations: 1.04 MB / 450.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004326/0.3345, allocations: 1.332 MB / 451.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.3369, allocations: 0.9222 MB / 452.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005819/0.3427, allocations: 4.077 MB / 456.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003413/0.3461, allocations: 1.777 MB / 458.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/0.3493, allocations: 1.959 MB / 460.6 MB, free: 9.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004034/0.3533, allocations: 2.273 MB / 462.9 MB, free: 6.824 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001385/0.3547, allocations: 0.5117 MB / 463.4 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002244/0.357, allocations: 0.7379 MB / 464.1 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001765/0.3587, allocations: 1.145 MB / 465.3 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004532/0.3633, allocations: 2.135 MB / 467.4 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.3744, allocations: 6.821 MB / 474.2 MB, free: 11.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3744, allocations: 0 / 474.2 MB, free: 11.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3744, allocations: 0 / 474.2 MB, free: 11.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002181/0.3746, allocations: 4 kB / 474.2 MB, free: 11.43 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.0148/0.3894, allocations: 4.451 MB / 478.7 MB, free: 6.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.3895, allocations: 8.031 kB / 478.7 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001474/0.3909, allocations: 443.1 kB / 479.1 MB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005127/0.3961, allocations: 0.8417 MB / 480 MB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006011/0.4021, allocations: 2.459 MB / 482.4 MB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/0.4023, allocations: 242.4 kB / 482.7 MB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009002/0.4032, allocations: 312 kB / 483 MB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00979/0.413, allocations: 4.258 MB / 487.2 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.4131, allocations: 11.89 kB / 487.2 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007128/0.4138, allocations: 132 kB / 487.4 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000182/0.414, allocations: 142.2 kB / 487.5 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007907/0.4219, allocations: 3.671 MB / 491.2 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02499/0.4469, allocations: 13.11 MB / 0.4925 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005366/0.4523, allocations: 2.611 MB / 0.495 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00246/0.4548, allocations: 1.3 MB / 0.4963 GB, free: 9.055 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007008/0.4618, allocations: 3.414 MB / 0.4996 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.4618, allocations: 47.56 kB / 0.4997 GB, free: 5.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.136e-06/0.4618, allocations: 4 kB / 0.4997 GB, free: 5.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01466/0.4765, allocations: 6.08 MB / 0.5056 GB, free: 15.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.4765, allocations: 72.72 kB / 0.5057 GB, free: 15.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003739/0.4803, allocations: 1.888 MB / 0.5075 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001778/0.4804, allocations: 53.7 kB / 0.5076 GB, free: 13.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.4818, allocations: 1.475 MB / 0.509 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005532/0.4824, allocations: 0.5151 MB / 0.5095 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005736/0.4829, allocations: 307.5 kB / 0.5098 GB, free: 11.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4831, allocations: 301.1 kB / 0.5101 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.4844, allocations: 0.7691 MB / 0.5108 GB, free: 10.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.4862, allocations: 1.22 MB / 0.512 GB, free: 8.609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.4894, allocations: 2.111 MB / 0.5141 GB, free: 6.309 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/0.4894, allocations: 4 kB / 0.5141 GB, free: 6.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005202/0.4946, allocations: 2.668 MB / 0.5167 GB, free: 3.621 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.4946, allocations: 12 kB / 0.5167 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/0.4947, allocations: 16 kB / 0.5167 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.4961, allocations: 0.5056 MB / 0.5172 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.4976, allocations: 383.4 kB / 0.5176 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009291/0.5069, allocations: 6.715 MB / 0.5241 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.5084, allocations: 84 kB / 0.5242 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002358/0.5087, allocations: 68.16 kB / 0.5243 GB, free: 11.61 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.002061/0.5107, allocations: 1.059 MB / 0.5253 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00051/0.5112, allocations: 210.7 kB / 0.5255 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004709/0.5159, allocations: 2.334 MB / 0.5278 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.516, allocations: 15.94 kB / 0.5278 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.102e-05/0.516, allocations: 8 kB / 0.5278 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/0.516, allocations: 7.969 kB / 0.5278 GB, free: 7.938 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.5265, allocations: 5.359 MB / 0.5331 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.5265, allocations: 3.984 kB / 0.5331 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.5276, allocations: 215.7 kB / 0.5333 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.5289, allocations: 0.5035 MB / 0.5338 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.5291, allocations: 35.94 kB / 0.5338 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.225/0.7541, allocations: 10.9 MB / 0.5445 GB, free: 91.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.7541, allocations: 0.6562 kB / 0.5445 GB, free: 91.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005074/0.7592, allocations: 3.416 MB / 0.5478 GB, free: 90.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009812/0.7601, allocations: 401.2 kB / 0.5482 GB, free: 89.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.7604, allocations: 28.81 kB / 0.5482 GB, free: 89.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009801/0.7614, allocations: 68.5 kB / 0.5483 GB, free: 89.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.7617, allocations: 119 kB / 0.5484 GB, free: 89.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.554e-05/0.7617, allocations: 44.72 kB / 0.5484 GB, free: 89.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001636/0.7634, allocations: 1.307 MB / 0.5497 GB, free: 89.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7634, allocations: 3.938 kB / 0.5497 GB, free: 89.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001966/0.7653, allocations: 0.5877 MB / 0.5503 GB, free: 89.36 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.004595/0.7699, allocations: 4.026 MB / 0.5542 GB, free: 87.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003398/0.7733, allocations: 2.319 MB / 0.5565 GB, free: 86.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.7733, allocations: 0 / 0.5565 GB, free: 86.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.7754, allocations: 1.666 MB / 0.5581 GB, free: 85.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.7775, allocations: 0.5272 MB / 0.5586 GB, free: 85.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/0.8041, allocations: 21.39 MB / 0.5795 GB, free: 64.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.8056, allocations: 2.383 MB / 0.5818 GB, free: 62.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001138/0.8068, allocations: 417 kB / 0.5822 GB, free: 61.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.8078, allocations: 1.174 MB / 0.5834 GB, free: 60.78 MB / 446.1 MB Notification: Performance of SimCode: time 9.91e-07/0.8078, allocations: 0 / 0.5834 GB, free: 60.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/0.9087, allocations: 57.48 MB / 0.6395 GB, free: 3.695 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/16.31, allocations: 11.78 kB / 0.6395 GB, free: 3.684 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 21.94624609895982]