Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001166/0.001166, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008617/0.0008617, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8617/0.8617, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 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.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.95e-05, allocations: 6.219 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.008037/0.008056, allocations: 8.386 MB / 333 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004821/0.01288, allocations: 2.882 MB / 335.9 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006441/0.01352, allocations: 59.62 kB / 335.9 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.01457, allocations: 0.6286 MB / 336.5 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.01586, allocations: 0.8499 MB / 337.4 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.01631, allocations: 371.3 kB / 337.7 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002121/0.01843, allocations: 2.769 MB / 340.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.01946, allocations: 1.121 MB / 341.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.02104, allocations: 1.781 MB / 343.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.02222, allocations: 1.317 MB / 344.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003684/0.02259, allocations: 311.9 kB / 345 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.02309, allocations: 411.7 kB / 345.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005162/0.0236, allocations: 0.9193 MB / 346.4 MB, free: 9.988 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00076/0.02436, allocations: 0.9704 MB / 347.3 MB, free: 9.016 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002525/0.02689, allocations: 4.164 MB / 351.5 MB, free: 4.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.02689, allocations: 0 / 351.5 MB, free: 4.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.02689, allocations: 0 / 351.5 MB, free: 4.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.489e-05/0.02698, allocations: 0 / 351.5 MB, free: 4.84 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.003887/0.03086, allocations: 2.833 MB / 354.3 MB, free: 1.961 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.0309, allocations: 12.03 kB / 354.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002725/0.03118, allocations: 295.5 kB / 354.6 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005725/0.03175, allocations: 335.1 kB / 355 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.03355, allocations: 1.495 MB / 356.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.011e-05/0.03363, allocations: 152.4 kB / 356.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.03383, allocations: 208.3 kB / 356.8 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/0.03677, allocations: 2.836 MB / 359.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/0.0369, allocations: 11.89 kB / 359.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003722/0.03727, allocations: 80 kB / 359.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.385e-05/0.03737, allocations: 95.92 kB / 359.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003042/0.04041, allocations: 2.315 MB / 362.1 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008622/0.04903, allocations: 7.553 MB / 369.7 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.05038, allocations: 1.248 MB / 370.9 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.05154, allocations: 1.016 MB / 372 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.0517, allocations: 48.95 kB / 372 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.05173, allocations: 51.5 kB / 372.1 MB, free: 15.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 2.805e-06/0.05173, allocations: 0 / 372.1 MB, free: 15.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=120): time 0.00821/0.05994, allocations: 5.918 MB / 378 MB, free: 9.852 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.05998, allocations: 68.34 kB / 378 MB, free: 9.773 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.06161, allocations: 1.548 MB / 379.6 MB, free: 8.215 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/0.06168, allocations: 49.7 kB / 379.6 MB, free: 8.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000511/0.06219, allocations: 1.006 MB / 380.6 MB, free: 7.145 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.06244, allocations: 436.3 kB / 381.1 MB, free: 6.715 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.06271, allocations: 251.5 kB / 381.3 MB, free: 6.461 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.06281, allocations: 357.9 kB / 381.7 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007796/0.06359, allocations: 0.73 MB / 382.4 MB, free: 5.375 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008923/0.06449, allocations: 1.055 MB / 383.4 MB, free: 4.191 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.06619, allocations: 1.875 MB / 385.3 MB, free: 2.184 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.0662, allocations: 7.984 kB / 385.3 MB, free: 2.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00265/0.06885, allocations: 2.354 MB / 387.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.06887, allocations: 20.03 kB / 387.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.06889, allocations: 8 kB / 387.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/0.06949, allocations: 403.1 kB / 388.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/0.0702, allocations: 331.5 kB / 388.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003619/0.07382, allocations: 4.825 MB / 393.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000959/0.07477, allocations: 87.86 kB / 393.3 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.638e-05/0.07486, allocations: 55.98 kB / 393.4 MB, free: 9.844 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009732/0.07583, allocations: 0.712 MB / 394.1 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.07607, allocations: 174.9 kB / 394.3 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.07857, allocations: 2.129 MB / 396.4 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.07857, allocations: 12 kB / 396.4 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.07858, allocations: 4 kB / 396.4 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.07859, allocations: 3.984 kB / 396.4 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005422/0.08401, allocations: 4.304 MB / 400.7 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.08402, allocations: 0 / 400.7 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.08456, allocations: 223.6 kB / 400.9 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00074/0.0853, allocations: 463.2 kB / 401.4 MB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.997e-05/0.08538, allocations: 31.98 kB / 401.4 MB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004203/0.08958, allocations: 6.324 MB / 407.8 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.08959, allocations: 15.97 kB / 407.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003598/0.09319, allocations: 3.177 MB / 410.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008061/0.09399, allocations: 334.8 kB / 411.3 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.09416, allocations: 27.98 kB / 411.3 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.09465, allocations: 71.92 kB / 411.4 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.09486, allocations: 116.7 kB / 411.5 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.09491, allocations: 39.98 kB / 411.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001543/0.09645, allocations: 1.06 MB / 412.6 MB, free: 6.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.09645, allocations: 4 kB / 412.6 MB, free: 6.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00119/0.09764, allocations: 463.9 kB / 413 MB, free: 5.652 MB / 378.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: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,100.0%), (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.00352/0.1012, allocations: 3.812 MB / 416.9 MB, free: 1.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.1035, allocations: 2.041 MB / 418.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1035, allocations: 0 / 418.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.1048, allocations: 1.358 MB / 420.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.1062, allocations: 439.9 kB / 420.7 MB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02141/0.1276, allocations: 17.45 MB / 438.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.1289, allocations: 1.257 MB / 439.4 MB, free: 10.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008135/0.1297, allocations: 405.6 kB / 439.8 MB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007851/0.1305, allocations: 0.801 MB / 440.6 MB, free: 9.352 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/0.1305, allocations: 0 / 440.6 MB, free: 9.352 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1815/0.3119, allocations: 46.64 MB / 487.2 MB, free: 86.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.297, allocations: 0 / 487.2 MB, free: 86.13 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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: 11.302541356533766]