Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.0008816/0.0008816, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.003702/0.003702, allocations: 165.1 kB / 24.7 MB, free: 8.891 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.9862/0.9862, 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_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.943e-05, allocations: 2.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.1603/0.1603, allocations: 8.639 MB / 307.1 MB, free: 11.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006518/0.1669, allocations: 2.978 MB / 310.1 MB, free: 9.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.1687, allocations: 58.53 kB / 310.1 MB, free: 9.238 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002543/0.1712, allocations: 0.6592 MB / 310.8 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003803/0.175, allocations: 0.9042 MB / 311.7 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.1765, allocations: 396.7 kB / 312.1 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004436/0.181, allocations: 3.196 MB / 315.3 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.1827, allocations: 1.257 MB / 316.5 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004775/0.1875, allocations: 2.037 MB / 318.6 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003699/0.1912, allocations: 1.506 MB / 320.1 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001189/0.1924, allocations: 360.9 kB / 320.4 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.1941, allocations: 459.3 kB / 320.9 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.1951, allocations: 1.031 MB / 321.9 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002892/0.198, allocations: 1.109 MB / 323 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005179/0.2032, allocations: 4.784 MB / 327.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.2032, allocations: 3.984 kB / 327.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2032, allocations: 0 / 327.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002219/0.2034, allocations: 1.344 kB / 327.8 MB, free: 15.55 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.008008/0.2114, allocations: 3.192 MB / 331 MB, free: 13.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.2115, allocations: 16.55 kB / 331 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006466/0.2121, allocations: 330.3 kB / 331.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009534/0.2131, allocations: 334.4 kB / 331.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003259/0.2164, allocations: 1.587 MB / 333.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.2165, allocations: 168.9 kB / 333.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004394/0.2169, allocations: 232.5 kB / 333.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006026/0.2229, allocations: 3.281 MB / 336.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-05/0.223, allocations: 15.88 kB / 336.9 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.2232, allocations: 95.98 kB / 337 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.54e-05/0.2233, allocations: 100.4 kB / 337.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003976/0.2273, allocations: 2.744 MB / 339.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/0.241, allocations: 8.912 MB / 348.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.2427, allocations: 1.559 MB / 350.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.244, allocations: 1.116 MB / 351.5 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.2442, allocations: 48.97 kB / 351.5 MB, free: 9.203 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.2443, allocations: 43.56 kB / 351.5 MB, free: 9.148 MB / 314.7 MB Notification: Performance of pre-optimization done (n=126): time 3.496e-06/0.2443, allocations: 3.938 kB / 351.6 MB, free: 9.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=142): time 0.01227/0.2565, allocations: 7.709 MB / 359.3 MB, free: 1.387 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2566, allocations: 72.72 kB / 359.3 MB, free: 1.305 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/0.2587, allocations: 1.684 MB / 361 MB, free: 15.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.2589, allocations: 53.7 kB / 361.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005923/0.2594, allocations: 1.119 MB / 362.2 MB, free: 14.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005996/0.26, allocations: 0.4919 MB / 362.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/0.2604, allocations: 291.5 kB / 363 MB, free: 13.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.2604, allocations: 305.1 kB / 363.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.2615, allocations: 0.9057 MB / 364.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.2626, allocations: 1.267 MB / 365.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.2647, allocations: 2.25 MB / 367.7 MB, free: 8.625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.2647, allocations: 4 kB / 367.7 MB, free: 8.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004187/0.2689, allocations: 3.045 MB / 370.7 MB, free: 5.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.269, allocations: 8 kB / 370.7 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.269, allocations: 12 kB / 370.8 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.2704, allocations: 0.8366 MB / 371.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007622/0.2711, allocations: 307.5 kB / 371.9 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008354/0.2795, allocations: 9.495 MB / 381.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.281, allocations: 91.91 kB / 381.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.2812, allocations: 63.98 kB / 381.5 MB, free: 10.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,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 (155): * Single equations (assignments): 150 * 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,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001522/0.2827, allocations: 0.8213 MB / 382.4 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004685/0.2832, allocations: 190.8 kB / 382.5 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/0.2867, allocations: 2.823 MB / 385.4 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.2867, allocations: 12 kB / 385.4 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.2867, allocations: 8 kB / 385.4 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.2868, allocations: 7.969 kB / 385.4 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007402/0.2942, allocations: 5.337 MB / 390.7 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.2942, allocations: 288 / 390.7 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/0.2947, allocations: 195.8 kB / 390.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.2961, allocations: 0.8946 MB / 391.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.2962, allocations: 35.97 kB / 391.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008956/0.3052, allocations: 11.03 MB / 402.9 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3052, allocations: 0 / 402.9 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004997/0.3102, allocations: 4.139 MB / 407 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.3112, allocations: 398.7 kB / 407.4 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.3114, allocations: 35.98 kB / 407.4 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005911/0.312, allocations: 83.91 kB / 407.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003372/0.3124, allocations: 145 kB / 407.7 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.464e-05/0.3124, allocations: 35.98 kB / 407.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00158/0.314, allocations: 1.153 MB / 408.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.314, allocations: 0 / 408.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002087/0.3161, allocations: 0.5585 MB / 409.4 MB, free: 13.83 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: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,19,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.005115/0.3212, allocations: 4.777 MB / 414.2 MB, free: 8.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003352/0.3246, allocations: 2.754 MB / 416.9 MB, free: 6.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.3246, allocations: 256 / 416.9 MB, free: 6.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.3267, allocations: 1.891 MB / 418.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/0.3287, allocations: 0.5027 MB / 419.3 MB, free: 3.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03607/0.3648, allocations: 20.39 MB / 439.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/0.3664, allocations: 1.46 MB / 441.2 MB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001095/0.3675, allocations: 407.3 kB / 441.6 MB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.3686, allocations: 0.883 MB / 442.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.973e-06/0.3686, allocations: 0 / 442.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2343/0.603, allocations: 56.57 MB / 499 MB, free: 128.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.486/9.089, allocations: 8.062 kB / 499 MB, free: 128.8 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_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_YD/AIMC_YD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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: 13.620680952444673]