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.001954/0.001954, allocations: 107.1 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.002659/0.002659, allocations: 206.7 kB / 23.72 MB, free: 4.492 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.494/1.494, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.002174/0.002174, allocations: 67.89 kB / 377.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2824, allocations: 53.4 MB / 431.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0181/0.3005, allocations: 11.83 MB / 443 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009513/0.31, allocations: 4.299 MB / 447.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002244/0.3122, allocations: 99.44 kB / 447.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.3151, allocations: 0.9785 MB / 448.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003973/0.3191, allocations: 1.316 MB / 449.7 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.3212, allocations: 0.88 MB / 450.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005012/0.3262, allocations: 4.072 MB / 454.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00264/0.3289, allocations: 1.707 MB / 456.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003003/0.3319, allocations: 1.955 MB / 458.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003928/0.3358, allocations: 2.152 MB / 460.4 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.3369, allocations: 0.5078 MB / 461 MB, free: 8.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.3387, allocations: 0.7107 MB / 461.7 MB, free: 7.758 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.3398, allocations: 1.145 MB / 462.8 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002851/0.3427, allocations: 1.692 MB / 464.5 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009101/0.3518, allocations: 6.833 MB / 471.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.3518, allocations: 4 kB / 471.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3518, allocations: 0 / 471.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002224/0.352, allocations: 0 / 471.3 MB, free: 14.05 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.01301/0.365, allocations: 4.455 MB / 475.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.3651, allocations: 15.98 kB / 475.8 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006565/0.3657, allocations: 443.1 kB / 476.2 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004393/0.3701, allocations: 0.8456 MB / 477.1 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005137/0.3753, allocations: 2.436 MB / 479.5 MB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/0.3755, allocations: 238.4 kB / 479.8 MB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006047/0.3761, allocations: 323.9 kB / 480.1 MB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008321/0.3844, allocations: 4.412 MB / 484.5 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.58e-05/0.3845, allocations: 3.953 kB / 484.5 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/0.3848, allocations: 132 kB / 484.6 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.385, allocations: 142.2 kB / 484.8 MB, free: 428 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006847/0.3918, allocations: 3.659 MB / 488.4 MB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02256/0.4144, allocations: 11.92 MB / 0.4886 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005131/0.4195, allocations: 2.593 MB / 0.4911 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002468/0.422, allocations: 1.3 MB / 0.4924 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006587/0.4285, allocations: 3.083 MB / 0.4954 GB, free: 9.605 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.4286, allocations: 47.56 kB / 0.4955 GB, free: 9.551 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.126e-06/0.4286, allocations: 0 / 0.4955 GB, free: 9.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01379/0.4424, allocations: 6.084 MB / 0.5014 GB, free: 3.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.4424, allocations: 68.72 kB / 0.5015 GB, free: 3.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002937/0.4454, allocations: 1.907 MB / 0.5033 GB, free: 1.438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.4456, allocations: 53.7 kB / 0.5034 GB, free: 1.379 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.4467, allocations: 1.483 MB / 0.5048 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005361/0.4473, allocations: 0.5151 MB / 0.5053 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004991/0.4478, allocations: 307.5 kB / 0.5056 GB, free: 15.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.4479, allocations: 305.1 kB / 0.5059 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.4492, allocations: 0.7613 MB / 0.5067 GB, free: 13.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.4509, allocations: 1.249 MB / 0.5079 GB, free: 12.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003116/0.454, allocations: 2.115 MB / 0.51 GB, free: 10.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.454, allocations: 4 kB / 0.51 GB, free: 10.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004821/0.4588, allocations: 2.664 MB / 0.5126 GB, free: 7.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.4588, allocations: 12 kB / 0.5126 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.4589, allocations: 12 kB / 0.5126 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.4603, allocations: 0.5056 MB / 0.5131 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.4618, allocations: 383.4 kB / 0.5134 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009481/0.4713, allocations: 6.614 MB / 0.5199 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.473, allocations: 79.84 kB / 0.52 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/0.4732, allocations: 72.14 kB / 0.52 GB, free: 15.66 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.001849/0.4751, allocations: 1.055 MB / 0.5211 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004342/0.4755, allocations: 206.7 kB / 0.5213 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004462/0.48, allocations: 2.338 MB / 0.5236 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.48, allocations: 15.94 kB / 0.5236 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/0.48, allocations: 11.98 kB / 0.5236 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.48, allocations: 7.984 kB / 0.5236 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009413/0.4894, allocations: 5.02 MB / 0.5285 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.4895, allocations: 192 / 0.5285 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.4905, allocations: 223.7 kB / 0.5287 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001377/0.4919, allocations: 0.492 MB / 0.5292 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.492, allocations: 35.98 kB / 0.5292 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2349/0.7269, allocations: 10.8 MB / 0.5398 GB, free: 95.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.7269, allocations: 4.75 kB / 0.5398 GB, free: 95.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005395/0.7323, allocations: 3.416 MB / 0.5431 GB, free: 94.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.7334, allocations: 397.2 kB / 0.5435 GB, free: 94.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.7337, allocations: 30.19 kB / 0.5435 GB, free: 94.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009009/0.7346, allocations: 65.08 kB / 0.5436 GB, free: 94.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/0.7349, allocations: 124.1 kB / 0.5437 GB, free: 94.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.922e-05/0.735, allocations: 43.44 kB / 0.5437 GB, free: 94.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001776/0.7368, allocations: 1.307 MB / 0.545 GB, free: 93.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7368, allocations: 0 / 0.545 GB, free: 93.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001696/0.7385, allocations: 0.5914 MB / 0.5456 GB, free: 93.69 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.004687/0.7432, allocations: 4.015 MB / 0.5495 GB, free: 91.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003375/0.7465, allocations: 2.331 MB / 0.5518 GB, free: 90.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7465, allocations: 0 / 0.5518 GB, free: 90.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002072/0.7486, allocations: 1.654 MB / 0.5534 GB, free: 89.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/0.7509, allocations: 0.5329 MB / 0.5539 GB, free: 89.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02721/0.7781, allocations: 21.38 MB / 0.5748 GB, free: 68.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.7797, allocations: 1.82 MB / 0.5766 GB, free: 66.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001256/0.7809, allocations: 421 kB / 0.577 GB, free: 66.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.7822, allocations: 1.163 MB / 0.5781 GB, free: 65.17 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/0.7822, allocations: 0 / 0.5781 GB, free: 65.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09971/0.8819, allocations: 59.46 MB / 0.6362 GB, free: 6.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.37, allocations: 14.3 kB / 0.6362 GB, free: 6.172 MB / 446.1 MB " [Timeout remaining time 645] (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: 20.487943542189896]