Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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.000843/0.000843, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008623/0.0008623, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9355/0.9355, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.Machines.Examples.InductionMachines.IMC_YD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.399e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.00866/0.008684, allocations: 9.157 MB / 333.7 MB, free: 6.688 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005917/0.0146, allocations: 3.116 MB / 336.8 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.01569, allocations: 71.5 kB / 336.9 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.01706, allocations: 0.7023 MB / 337.6 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.01897, allocations: 0.9625 MB / 338.5 MB, free: 1.812 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007603/0.01973, allocations: 435.2 kB / 339 MB, free: 1.387 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003279/0.02301, allocations: 3.552 MB / 342.5 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.02463, allocations: 1.377 MB / 343.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.02761, allocations: 2.273 MB / 346.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.02912, allocations: 1.664 MB / 347.8 MB, free: 8.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002844/0.0294, allocations: 400 kB / 348.2 MB, free: 8.039 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005085/0.02991, allocations: 499.7 kB / 348.7 MB, free: 7.551 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009073/0.03082, allocations: 1.149 MB / 349.9 MB, free: 6.398 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000815/0.03163, allocations: 1.224 MB / 351.1 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.03462, allocations: 5.321 MB / 356.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.03463, allocations: 4 kB / 356.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.03463, allocations: 0 / 356.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.994e-05/0.03466, allocations: 0 / 356.4 MB, free: 15.83 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.004049/0.03871, allocations: 3.519 MB / 359.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.03875, allocations: 15.98 kB / 359.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003319/0.03908, allocations: 367 kB / 360.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006229/0.0397, allocations: 398.7 kB / 360.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.04179, allocations: 1.882 MB / 362.6 MB, free: 9.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004828/0.04227, allocations: 197.5 kB / 362.8 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000676/0.04295, allocations: 260 kB / 363 MB, free: 9.117 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004579/0.04753, allocations: 3.632 MB / 366.6 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.438e-05/0.04758, allocations: 7.891 kB / 366.7 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.04776, allocations: 108 kB / 366.8 MB, free: 5.246 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.101e-05/0.04785, allocations: 112.9 kB / 366.9 MB, free: 5.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004302/0.05216, allocations: 3.087 MB / 370 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.06561, allocations: 9.8 MB / 379.8 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.06791, allocations: 2.04 MB / 381.8 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.0695, allocations: 1.305 MB / 383.1 MB, free: 4.629 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/0.06977, allocations: 49.28 kB / 383.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001426/0.07119, allocations: 1.252 MB / 384.4 MB, free: 3.273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=156): time 3.486e-06/0.0712, allocations: 0 / 384.4 MB, free: 3.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=172): time 0.0133/0.0845, allocations: 8.458 MB / 392.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.756e-05/0.08459, allocations: 188.1 kB / 393 MB, free: 10.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.08672, allocations: 1.868 MB / 394.9 MB, free: 8.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.08683, allocations: 57.7 kB / 395 MB, free: 8.617 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008133/0.08765, allocations: 1.226 MB / 396.2 MB, free: 7.379 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/0.08799, allocations: 0.581 MB / 396.8 MB, free: 6.793 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003834/0.08838, allocations: 351.5 kB / 397.1 MB, free: 6.445 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.008e-05/0.08846, allocations: 301.1 kB / 397.4 MB, free: 6.148 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.08957, allocations: 1.007 MB / 398.4 MB, free: 5.141 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.09104, allocations: 1.535 MB / 400 MB, free: 3.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002589/0.09363, allocations: 2.454 MB / 402.4 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.537e-06/0.09364, allocations: 0 / 402.4 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.00454/0.09818, allocations: 3.316 MB / 405.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.09821, allocations: 8.031 kB / 405.7 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.09823, allocations: 16 kB / 405.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.09971, allocations: 0.8836 MB / 406.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007385/0.1005, allocations: 335.5 kB / 407 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008641/0.1091, allocations: 10.01 MB / 417 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.1104, allocations: 135.9 kB / 417.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.1105, allocations: 68 kB / 417.2 MB, free: 1.676 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (9,25,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001357/0.1119, allocations: 0.9331 MB / 418.1 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.1122, allocations: 214.6 kB / 418.3 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/0.1157, allocations: 3.091 MB / 421.4 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.1157, allocations: 16 kB / 421.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.1157, allocations: 8 kB / 421.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.1157, allocations: 7.969 kB / 421.4 MB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007737/0.1235, allocations: 5.862 MB / 427.3 MB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.1235, allocations: 4 kB / 427.3 MB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005574/0.1241, allocations: 207.7 kB / 427.5 MB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/0.1255, allocations: 0.9322 MB / 428.4 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.1256, allocations: 43.98 kB / 428.5 MB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009534/0.1351, allocations: 11.51 MB / 440 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.1351, allocations: 7.984 kB / 440 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005422/0.1405, allocations: 4.492 MB / 444.5 MB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.1416, allocations: 438.4 kB / 444.9 MB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/0.1418, allocations: 39.98 kB / 445 MB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005994/0.1424, allocations: 95.89 kB / 445 MB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004022/0.1428, allocations: 204.8 kB / 445.2 MB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-05/0.1429, allocations: 47.98 kB / 445.3 MB, free: 4.871 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001708/0.1446, allocations: 1.271 MB / 446.6 MB, free: 3.609 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1446, allocations: 0 / 446.6 MB, free: 3.609 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00175/0.1464, allocations: 0.6328 MB / 447.2 MB, free: 2.977 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,25,33.3%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.1703/0.3167, allocations: 5.144 MB / 452.3 MB, free: 113.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003999/0.3207, allocations: 3.015 MB / 455.4 MB, free: 113.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.3207, allocations: 3.188 kB / 455.4 MB, free: 113.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002138/0.3228, allocations: 2.096 MB / 457.5 MB, free: 112.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.3253, allocations: 0.574 MB / 458 MB, free: 112 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02277/0.348, allocations: 22.48 MB / 480.5 MB, free: 92.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.3492, allocations: 1.626 MB / 482.1 MB, free: 91.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008856/0.3501, allocations: 457.6 kB / 482.6 MB, free: 90.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007015/0.3508, allocations: 1.019 MB / 483.6 MB, free: 89.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.123e-06/0.3508, allocations: 0 / 483.6 MB, free: 89.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07903/0.4298, allocations: 64.37 MB / 0.5351 GB, free: 25.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/8.977, allocations: 15.12 kB / 0.5351 GB, free: 25.9 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YD_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YD.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 13.297163876704872]