Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.0009568/0.0009568, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005344/0.005344, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.909/0.909, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 298.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.341e-05, allocations: 2.281 kB / 298.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.1645/0.1646, allocations: 8.281 MB / 306.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004101/0.1687, allocations: 2.864 MB / 309.6 MB, free: 9.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005974/0.1693, allocations: 53.62 kB / 309.7 MB, free: 9.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.1705, allocations: 0.6291 MB / 310.3 MB, free: 9.242 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.1719, allocations: 0.8481 MB / 311.1 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.1725, allocations: 352.1 kB / 311.5 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002116/0.1746, allocations: 2.785 MB / 314.3 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.1756, allocations: 1.069 MB / 315.3 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.1773, allocations: 1.766 MB / 317.1 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.1791, allocations: 1.316 MB / 318.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003395/0.1794, allocations: 308 kB / 318.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005772/0.18, allocations: 398.7 kB / 319.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006184/0.1806, allocations: 0.9197 MB / 320 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000772/0.1814, allocations: 0.9699 MB / 321 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.184, allocations: 4.144 MB / 325.1 MB, free: 1.332 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.184, allocations: 0 / 325.1 MB, free: 1.332 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.184, allocations: 5.359 kB / 325.1 MB, free: 1.328 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.522e-05/0.184, allocations: 0 / 325.1 MB, free: 1.328 MB / 282.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.003539/0.1875, allocations: 2.815 MB / 328 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.1876, allocations: 17.58 kB / 328 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003034/0.1879, allocations: 297.1 kB / 328.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005161/0.1884, allocations: 302.3 kB / 328.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.1901, allocations: 1.381 MB / 329.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.867e-05/0.1902, allocations: 158.8 kB / 330.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.1904, allocations: 200.8 kB / 330.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/0.1935, allocations: 2.84 MB / 333.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.1935, allocations: 3.938 kB / 333.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.1937, allocations: 87.94 kB / 333.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.708e-05/0.1937, allocations: 93.81 kB / 333.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.1964, allocations: 2.322 MB / 335.6 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008064/0.2045, allocations: 7.543 MB / 343.2 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.2058, allocations: 1.25 MB / 344.4 MB, free: 332 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.207, allocations: 1.013 MB / 345.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.2072, allocations: 48.88 kB / 345.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.2072, allocations: 47.56 kB / 345.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 3.175e-06/0.2072, allocations: 0 / 345.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=120): time 0.008267/0.2155, allocations: 5.959 MB / 351.5 MB, free: 9.203 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.2155, allocations: 68.34 kB / 351.6 MB, free: 9.125 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.217, allocations: 1.532 MB / 353.1 MB, free: 7.582 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/0.217, allocations: 45.7 kB / 353.1 MB, free: 7.531 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004516/0.2175, allocations: 1.009 MB / 354.1 MB, free: 6.512 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.2177, allocations: 428.3 kB / 354.6 MB, free: 6.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.2179, allocations: 251.5 kB / 354.8 MB, free: 5.836 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00038/0.2183, allocations: 357.9 kB / 355.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007174/0.219, allocations: 0.7348 MB / 355.9 MB, free: 4.746 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008425/0.2199, allocations: 1.055 MB / 356.9 MB, free: 3.562 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.2215, allocations: 1.875 MB / 358.8 MB, free: 1.559 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2215, allocations: 7.938 kB / 358.8 MB, free: 1.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002489/0.224, allocations: 2.357 MB / 361.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.224, allocations: 8 kB / 361.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.224, allocations: 12 kB / 361.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005907/0.2246, allocations: 407.5 kB / 361.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008958/0.2255, allocations: 332.3 kB / 361.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/0.229, allocations: 4.826 MB / 366.8 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007206/0.2297, allocations: 91.89 kB / 366.8 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/0.2298, allocations: 48 kB / 366.9 MB, free: 9.227 MB / 330.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.0009499/0.2307, allocations: 0.7158 MB / 367.6 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.2309, allocations: 166.9 kB / 367.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.2337, allocations: 2.125 MB / 369.9 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.2337, allocations: 16 kB / 369.9 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.2337, allocations: 4 kB / 369.9 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.2338, allocations: 7.969 kB / 369.9 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004964/0.2387, allocations: 4.272 MB / 374.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2387, allocations: 0 / 374.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/0.2392, allocations: 235.5 kB / 374.4 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006915/0.2399, allocations: 474.9 kB / 374.9 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/0.24, allocations: 31.92 kB / 374.9 MB, free: 1.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004268/0.2442, allocations: 6.34 MB / 381.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.2442, allocations: 4 kB / 381.3 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003479/0.2477, allocations: 3.173 MB / 384.4 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005683/0.2483, allocations: 330.8 kB / 384.8 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.2484, allocations: 31.98 kB / 384.8 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004337/0.2488, allocations: 75.92 kB / 384.9 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.249, allocations: 112.7 kB / 385 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/0.2491, allocations: 32 kB / 385 MB, free: 6.562 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00101/0.2501, allocations: 1.048 MB / 386.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2501, allocations: 4 kB / 386.1 MB, free: 5.512 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001076/0.2512, allocations: 459.9 kB / 386.5 MB, free: 5.062 MB / 346.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.003349/0.2545, allocations: 3.811 MB / 390.3 MB, free: 1.184 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.2569, allocations: 2.041 MB / 392.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2569, allocations: 4 kB / 392.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.2582, allocations: 1.362 MB / 393.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.2593, allocations: 442.7 kB / 394.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/0.2785, allocations: 17.4 MB / 411.6 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.2797, allocations: 1.253 MB / 412.8 MB, free: 10 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007513/0.2804, allocations: 397.5 kB / 413.2 MB, free: 9.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/0.2812, allocations: 0.7932 MB / 414 MB, free: 8.812 MB / 378.7 MB Notification: Performance of SimCode: time 1.724e-06/0.2812, allocations: 0 / 414 MB, free: 8.812 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06593/0.3471, allocations: 46.42 MB / 460.4 MB, free: 10.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/8.741, allocations: 4.062 kB / 460.4 MB, free: 10.27 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_DOL/AIMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.658182042650878]